From 04e8eab1c328b008c70308eebd9c6b12932ec2b5 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 9 Nov 2017 08:55:52 +0000 Subject: Makefiles: reorder, and use version support for macos --- Makefile.macosx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile.macosx') 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 +