X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=Makefile;h=0101fe0653b5601bb9c30888a99b57f1718fa799;hp=13aa195dd0e379187a34d5470d927177f89c7c13;hb=fdc7a4c95dbf2177b757771434415e27bd482c83;hpb=60b4ad5bf9ef295f89e834f3667e2aa8914b741a diff --git a/Makefile b/Makefile index 13aa195d..0101fe06 100644 --- a/Makefile +++ b/Makefile @@ -122,6 +122,11 @@ inter-depends: $(ALL_DEPENDS) Makefile test-depends: $(ALL_DEPENDS) Makefile for f in $(ALL_DEPENDS); do echo check-`basename \`dirname $$f\``: `sed -n 's,ccan/\(.*\),check-\1,p' < $$f`; done > $@ +TAGS: FORCE + find * -name '*.[ch]' | xargs etags + +FORCE: + # Ensure we don't end up with empty file if configurator fails! config.h: tools/configurator/configurator Makefile Makefile-ccan tools/configurator/configurator $(CC) $(CCAN_CFLAGS) > $@ || rm -f $@