From: David Griffith Date: Sat, 31 Mar 2018 12:25:43 +0000 (-0700) Subject: Use $@ instead of $(COMMON_DIR)/git_hash.h. X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=e70321797588b9641d75ff0d2a006d2f3b46d37c;p=liskon_frotz.git Use $@ instead of $(COMMON_DIR)/git_hash.h. --- 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