]> git.ozlabs.org Git - ccan/blobdiff - Makefile-ccan
Exclude system headers from .d files
[ccan] / Makefile-ccan
index 9469334e37bd6e30a28522b2417dac6da493e0f5..f4e096b55034a63a6920f4564725db8b4fb221f6 100644 (file)
@@ -17,6 +17,7 @@ MODS_NO_SRC := alignof \
        check_type \
        compiler \
        container_of \
+       cppmagic \
        darray \
        endian \
        lqueue \
@@ -33,6 +34,7 @@ MODS_NO_SRC := alignof \
 # No external dependencies, with C code:
 MODS_WITH_SRC := aga \
        agar \
+       altstack \
        antithread \
        antithread/alloc \
        asort \
@@ -63,6 +65,7 @@ MODS_WITH_SRC := aga \
        err \
        failtest \
        foreach \
+       generator \
        grab_file \
        hash \
        heap \
@@ -132,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