X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2FMakefile;h=c263d0d616d19220ba419b8ca3b73119140846a8;hp=3720c9198c482b7c91e981f83b4bba474d8d0fac;hb=0621cac3bf1b5cf4c90de56e0e43b0acde0c94f1;hpb=43ea89157d6cf730d44050548cb60407da60cb0f diff --git a/tools/ccanlint/Makefile b/tools/ccanlint/Makefile index 3720c919..c263d0d6 100644 --- a/tools/ccanlint/Makefile +++ b/tools/ccanlint/Makefile @@ -3,7 +3,7 @@ TEST_OBJS := $(TEST_CFILES:.c=.o) CORE_OBJS := \ ccan/asort/asort.o \ - ccan/btree/btree.o \ + ccan/autodata/autodata.o \ ccan/dgraph/dgraph.o \ ccan/foreach/foreach.o \ ccan/grab_file/grab_file.o \ @@ -15,6 +15,7 @@ CORE_OBJS := \ ccan/opt/opt.o \ ccan/opt/parse.o \ ccan/opt/usage.o \ + ccan/ptr_valid/ptr_valid.o \ ccan/read_write_all/read_write_all.o \ ccan/str/str.o ccan/str/debug.o \ ccan/str_talloc/str_talloc.o \ @@ -33,17 +34,9 @@ CORE_OBJS := \ OBJS := $(CORE_OBJS) $(TEST_OBJS) -# FIXME: write a trivial C program to do this -tools/ccanlint/generated-testlist: $(TEST_CFILES) - cat $^ | grep ^REGISTER_TEST > $@ - -$(TEST_OBJS): tools/ccanlint/generated-testlist - -# Otherwise, ccanlint.c et al. may fail to build -$(CORE_OBJS): tools/ccanlint/generated-testlist config.h +$(CORE_OBJS): config.h tools/ccanlint/ccanlint: $(OBJS) ccanlint-clean: - $(RM) tools/ccanlint/generated-testlist $(RM) tools/ccanlint/ccanlint