aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPjotr Prins2018-02-22 18:55:09 +0000
committerPjotr Prins2018-02-22 18:55:09 +0000
commit135c977cf25a688846c0f8180720c7880a90a7dd (patch)
treeb0f3c9a7183e30bb84b2da2c0c28aacc390d9d79 /Makefile
parentfa203f4fa5686846e42d3e0b9d8addad7823f52c (diff)
downloadpangemma-135c977cf25a688846c0f8180720c7880a90a7dd.tar.gz
Changed handling of version number so it does not modify every compile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f8bacbf..e8d827b 100644
--- a/Makefile
+++ b/Makefile
@@ -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