From: David Griffith Date: Wed, 13 Feb 2019 04:27:15 +0000 (-0800) Subject: Fixed broken hash target. X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=912668912bc85783045fa4106b9eb903bb63fe4d;p=liskon_frotz.git Fixed broken hash target. --- diff --git a/Makefile b/Makefile index 0818892..14271d9 100644 --- a/Makefile +++ b/Makefile @@ -218,6 +218,7 @@ $(SUBDIRS): $(SUB_CLEAN): -$(MAKE) -C $(@:%-clean=%) clean + # Compile-time generated defines and strings common_strings: $(COMMON_STRINGS) @@ -245,7 +246,6 @@ ifdef NO_STRDUP endif @echo "#endif /* COMMON_DEFINES_H */" >> $@ - curses_defines: $(CURSES_DEFINES) $(CURSES_DEFINES): @echo "** Generating $@" @@ -256,22 +256,19 @@ $(CURSES_DEFINES): @echo "#define SAMPLERATE $(SAMPLERATE)" >> $@ @echo "#define BUFFSIZE $(BUFFSIZE)" >> $@ @echo "#define DEFAULT_CONVERTER $(DEFAULT_CONVERTER)" >> $@ - ifeq ($(SOUND), none) @echo "#define NO_SOUND" >> $@ endif - ifndef SOUND @echo "#define NO_SOUND" >> $@ endif - ifdef COLOR @echo "#define COLOR_SUPPORT" >> $@ endif @echo "#endif /* CURSES_DEFINES_H */" >> $@ - hash: $(HASH) +$(HASH): @echo "** Generating $@" @echo "#define GIT_BRANCH \"$(GIT_BRANCH)\"" > $@ @echo "#define GIT_HASH \"$(GIT_HASH)\"" >> $@