diff options
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 |