diff options
author | Pjotr Prins | 2017-11-09 08:55:52 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-11-09 08:55:52 +0000 |
commit | 04e8eab1c328b008c70308eebd9c6b12932ec2b5 (patch) | |
tree | dbaeb01a60fc91ae13b0db69fe9937b83e8cab21 /Makefile.macosx | |
parent | 554e1f69f8453a0f7c4f4ed2fe180dcf12a3a679 (diff) | |
download | pangemma-04e8eab1c328b008c70308eebd9c6b12932ec2b5.tar.gz |
Makefiles: reorder, and use version support for macos
Diffstat (limited to 'Makefile.macosx')
-rw-r--r-- | Makefile.macosx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.macosx b/Makefile.macosx index 079d2b9..fa7460e 100644 --- a/Makefile.macosx +++ b/Makefile.macosx @@ -89,7 +89,7 @@ LIBS += -framework Accelerate \ /usr/local/Cellar/gsl/2.4/lib/libgsl.a \ /usr/local/Cellar/gsl/2.4/lib/libgslcblas.a -HDR = $(wildcard src/*.h) +HDR = $(wildcard src/*.h) ./src/version.h SOURCES = $(wildcard src/*.cpp) # all @@ -97,6 +97,9 @@ OBJS = $(SOURCES:.cpp=.o) all: $(OUTPUT) +./src/version.h: + ./scripts/gen_version_info.sh > src/version.h + <print-% : ; @echo $* = $($*) $(OUTPUT): $(OBJS) @@ -132,6 +135,7 @@ check: fast-check slow-check check-all: check lengthy-check clean: + rm -vf $(SRC_DIR)/version.h rm -vf $(SRC_DIR)/*.o rm -vf $(SRC_DIR)/*~ rm -vf $(TEST_SRC_DIR)/*.o |