]> git.ozlabs.org Git - ccan/blobdiff - Makefile-ccan
Web updates.
[ccan] / Makefile-ccan
index 2e802dd5acbc50094f993d35309326536bda1ef1..bac2dd17c7bcc6f9004d9e0574544c1e6e615a0e 100644 (file)
@@ -9,7 +9,7 @@ DEPGEN=-MD
 -include ccan/*/*.d
 
 # Every directory with .c files is included.
-DIRS=$(patsubst %/, %, $(sort $(dir $(wildcard ccan/*/*.c))))
+DIRS=$(filter-out $(EXCLUDE), $(patsubst %/, %, $(sort $(dir $(wildcard ccan/*/*.c)))))
 
 # We compile all the ccan/foo/*.o files together into ccan/foo.o
 OBJFILES=$(DIRS:=.o)