]> git.ozlabs.org Git - ccan/blobdiff - Makefile-ccan
Exclude system headers from .d files
[ccan] / Makefile-ccan
index a0be58f8c2d93acfe2ffdc8111423cf2a8aebd54..f4e096b55034a63a6920f4564725db8b4fb221f6 100644 (file)
@@ -17,6 +17,7 @@ MODS_NO_SRC := alignof \
        check_type \
        compiler \
        container_of \
+       cppmagic \
        darray \
        endian \
        lqueue \
@@ -134,7 +135,7 @@ MODS:=$(MODS_WITH_SRC) $(MODS_NO_SRC)
 default: libccan.a
 
 # Automatic dependency generation: makes ccan/*/*.d files.
-DEPGEN=-MD
+DEPGEN=-MMD
 -include ccan/*/*.d
 
 # Anything with C files needs building; dir leaves / on, sort uniquifies