about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bdb58b2..4a6464f 100644
--- a/Makefile
+++ b/Makefile
@@ -176,7 +176,7 @@ OBJS = $(SOURCES:.cpp=.o)
 
 all: $(OUTPUT)
 
-./src/version.h:
+./src/version.h: ./VERSION
 	$(VGEN) > src/version.h
 
 $(OUTPUT): $(OBJS)
@@ -212,7 +212,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