forked from moble/GWFrames
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (23 loc) · 1005 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Make targets in ./Code
# build_message: prints helpful build documentation
# install_user: just call the python user build process
# cpp: make object files to use in other C++ programs
# clean: cleans out the builds, etc., in Code
# MikeHappy: self-explanatory
CODE_TARGETS := build_message install_user cpp clean MikeHappy
# Tell 'make' not to look for files with the following names
.PHONY : $(CODE_TARGETS) doc
.DEFAULT_GOAL := build_message
$(CODE_TARGETS):
$(MAKE) -C Code $@
# This rebuilds the documentation, assuming doxygen is working
doc :
$(MAKE) -C Docs
@echo ""
@echo "========================================================"
@echo "NOTE:"
@echo "Unfortunately, this documentation system is not perfect."
@echo "If SWIG reports an error when building the module, just"
@echo "edit Docs/GWFrames_Doc.i, go to the line(s) in the error"
@echo "message, and remove the offending clause(s)."
@echo "========================================================"