diff options
author | Pjotr Prins | 2018-02-22 18:55:09 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-02-22 18:55:09 +0000 |
commit | 135c977cf25a688846c0f8180720c7880a90a7dd (patch) | |
tree | b0f3c9a7183e30bb84b2da2c0c28aacc390d9d79 | |
parent | fa203f4fa5686846e42d3e0b9d8addad7823f52c (diff) | |
download | pangemma-135c977cf25a688846c0f8180720c7880a90a7dd.tar.gz |
Changed handling of version number so it does not modify every compile
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | src/version.h | 4 |
3 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,6 @@ *.o *.tar.gz src/Eigen -src/version.h example/output test/output ./output @@ -148,7 +148,7 @@ OBJS = $(SOURCES:.cpp=.o) all: $(OUTPUT) -./src/version.h: +./src/version.h: ./VERSION ./scripts/gen_version_info.sh > src/version.h $(OUTPUT): $(OBJS) @@ -184,7 +184,6 @@ check: fast-check slow-check check-all: check lengthy-check clean: - rm $(SRC_DIR)/version.h rm -vf $(SRC_DIR)/*.o rm -vf $(SRC_DIR)/*~ rm -vf $(TEST_SRC_DIR)/*.o diff --git a/src/version.h b/src/version.h new file mode 100644 index 0000000..3f6f38f --- /dev/null +++ b/src/version.h @@ -0,0 +1,4 @@ +// version.h generated by GEMMA ./scripts/gen_version_info.sh +#define GEMMA_VERSION "0.98-pre1" +#define GEMMA_DATE "2018/02/10" +#define GEMMA_YEAR "2018" |