]> git.ozlabs.org Git - ccan/blobdiff - Makefile
tools/ccanlint: make sure _info compiles.
[ccan] / Makefile
index f127390673dd0dcc537dc501c0502396eea5beaf..5d4b701c868bdfc62ae9ea8c325c4a958611d681 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,8 +19,8 @@ default: libccan.a
 
 ALL_DEPENDS=$(patsubst %, ccan/%/.depends, $(MODS))
 
 
 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
 
 
 include Makefile-ccan
 
@@ -64,8 +64,9 @@ ccan/%/info: ccan/%/_info
        $(CC) $(CCAN_CFLAGS) -o $@ -x c $<
 
 clean: tools-clean
        $(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
 
 # Creates a dependency from the tests to the object files which it needs.
 inter-depends: $(ALL_DEPENDS) Makefile