summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 0fec7c2..d64cae2 100644
--- a/Makefile
+++ b/Makefile
@@ -52,13 +52,13 @@ memleak: gentest
genversion:
@echo Building Version
- @echo "//Generated by MAKEFILE. DO NOT Edit." > src/version.h
- @echo "#pragma once" >> src/version.h
- @echo "#define VERSION $(VERSION)" >> src/version.h
- @echo "#define PATCHLEVEL $(PATCHLEVEL)" >> src/version.h
- @echo "#define VERSTRING \"`git describe`\"" >> src/version.h
- @echo "#define DATE \"`date +'%d.%m.20%y'`\"" >> src/version.h
- @echo "#define TIME \"`date +'%H:%M:%S'`\"" >> src/version.h
+ @echo "//Generated by MAKEFILE. DO NOT Edit." > $(SOURCEDIR)/version.h
+ @echo "#pragma once" >> $(SOURCEDIR)/version.h
+ @echo "#define VERSION $(VERSION)" >> $(SOURCEDIR)/version.h
+ @echo "#define PATCHLEVEL $(PATCHLEVEL)" >> $(SOURCEDIR)/version.h
+ @echo "#define VERSTRING \"`git describe`\"" >> $(SOURCEDIR)/version.h
+ @echo "#define DATE \"`date +'%d.%m.20%y'`\"" >> $(SOURCEDIR)/version.h
+ @echo "#define TIME \"`date +'%H:%M:%S'`\"" >> $(SOURCEDIR)/version.h
gentest: build test.o
mkdir -p $(BUILDDIR)/test