]> git.ozlabs.org Git - ccan/blobdiff - Makefile-ccan
Exclude system headers from .d files
[ccan] / Makefile-ccan
index 2c80720c9595af367c49c391b78cf43515f132ef..f4e096b55034a63a6920f4564725db8b4fb221f6 100644 (file)
@@ -17,6 +17,7 @@ MODS_NO_SRC := alignof \
        check_type \
        compiler \
        container_of \
+       cppmagic \
        darray \
        endian \
        lqueue \
@@ -64,6 +65,7 @@ MODS_WITH_SRC := aga \
        err \
        failtest \
        foreach \
+       generator \
        grab_file \
        hash \
        heap \
@@ -133,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