summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-06 15:12:39 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-06 15:12:39 +0100
commitacaf96c4930d88ebbabcea809473e623ba361ef9 (patch)
treec0f74ac504ea0730ae3f642d1d9112270857d2ac /Makefile
parentf439ae911923ee70937592b1ee535e8e8e133808 (diff)
downloadtermgl-acaf96c4930d88ebbabcea809473e623ba361ef9.tar.gz
Makefile path fixes
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