X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=Makefile;h=5d4b701c868bdfc62ae9ea8c325c4a958611d681;hp=f127390673dd0dcc537dc501c0502396eea5beaf;hb=2512fecb742a1cfd0ce31d81c98bba0a97f3cbe2;hpb=a46da30dff97eef6f8e1dc9666aaacf4284f36c3 diff --git a/Makefile b/Makefile index f1273906..5d4b701c 100644 --- a/Makefile +++ b/Makefile @@ -19,8 +19,8 @@ default: libccan.a ALL_DEPENDS=$(patsubst %, ccan/%/.depends, $(MODS)) -# By default, we skip modules with external deps. -MODS_EXCLUDE:=jmap jset nfs ogg_to_pcm tal/talloc wwviaudio +# By default, we skip modules with external deps (or plaform specific) +MODS_EXCLUDE:=altstack generator jmap jset nfs ogg_to_pcm tal/talloc wwviaudio include Makefile-ccan @@ -64,8 +64,9 @@ ccan/%/info: ccan/%/_info $(CC) $(CCAN_CFLAGS) -o $@ -x c $< clean: tools-clean - $(RM) `find * -name '*.o'` `find * -name '.depends'` `find * -name '*.a'` `find * -name info` `find * -name '*.d'` - $(RM) inter-depends lib-depends test-depends ccan/*-Makefile + rm -f `find * -name '*.o'` `find * -name '.depends'` `find * -name '*.a'` `find * -name info` `find * -name '*.d'` `find ccan -name '*-Makefile'` + rm -f config.h + rm -f inter-depends lib-depends test-depends # Creates a dependency from the tests to the object files which it needs. inter-depends: $(ALL_DEPENDS) Makefile