From 4fe282310226fdfc4a5c7b9c4131e6e5ba96315f Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Thu, 10 May 2007 22:17:12 +0200 Subject: [PATCH] be sure we have our generated sources with us. Signed-off-by: Pierre Habouzit --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2f96388..a3519e6 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ postlicyd_LIBADD = -lanl # RULES ###################################################################{{{ -all: $(PROGRAMS) +all: $(PROGRAMS) $(GENERATED) | $(GENERATED) clean: $(RM) $(PROGRAMS) @@ -64,10 +64,10 @@ headers: ( echo "package headache not installed" ; exit 1 ) @git ls-files | egrep '(\.h|\.c|Makefile|*\.mk)$$' | xargs -t headache $(HEADACHEOPTS) -%.c: %.sh +%.h: %.sh ./$< $@ || ($(RM) $@; exit 1) -%.h: %.sh +%.c: %.sh ./$< $@ || ($(RM) $@; exit 1) .%.o: %.c Makefile -- 2.20.1