Signed-off-by: Pierre Habouzit <madcoder@debian.org>
# RULES ###################################################################{{{
-all: $(PROGRAMS)
+all: $(PROGRAMS) $(GENERATED) | $(GENERATED)
clean:
$(RM) $(PROGRAMS)
( 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