X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=Makefile-ccan;h=bac2dd17c7bcc6f9004d9e0574544c1e6e615a0e;hp=2e802dd5acbc50094f993d35309326536bda1ef1;hb=f66bb62ab93dfb3031fd4c75c4a23951428f3a3f;hpb=570c9c555f076e74f46141bb42b5d1d7ac89f632 diff --git a/Makefile-ccan b/Makefile-ccan index 2e802dd5..bac2dd17 100644 --- a/Makefile-ccan +++ b/Makefile-ccan @@ -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)