From e70321797588b9641d75ff0d2a006d2f3b46d37c Mon Sep 17 00:00:00 2001 From: David Griffith Date: Sat, 31 Mar 2018 05:25:43 -0700 Subject: [PATCH] Use $@ instead of $(COMMON_DIR)/git_hash.h. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 382f781..995af00 100644 --- a/Makefile +++ b/Makefile @@ -219,10 +219,10 @@ endif hash: $(HASH) $(HASH): @echo "Creating $@" - @echo "#define GIT_BRANCH \"$(GIT_BRANCH)\"" > $(COMMON_DIR)/git_hash.h - @echo "#define GIT_HASH \"$(GIT_HASH)\"" >> $(COMMON_DIR)/git_hash.h - @echo "#define GIT_HASH_SHORT \"$(GIT_HASH_SHORT)\"" >> $(COMMON_DIR)/git_hash.h - @echo "#define GIT_TAG \"$(GIT_TAG)\"" >> $(COMMON_DIR)/git_hash.h + @echo "#define GIT_BRANCH \"$(GIT_BRANCH)\"" > $@ + @echo "#define GIT_HASH \"$(GIT_HASH)\"" >> $@ + @echo "#define GIT_HASH_SHORT \"$(GIT_HASH_SHORT)\"" >> $@ + @echo "#define GIT_TAG \"$(GIT_TAG)\"" >> $@ # Administrative stuff -- 2.34.1