From acaf96c4930d88ebbabcea809473e623ba361ef9 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 6 Mar 2019 15:12:39 +0100 Subject: Makefile path fixes --- Makefile | 14 +++++++------- 1 file 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 -- cgit v1.2.3