X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2FMakefile;h=974e7388e714f17e0cab171c6480d8c8dbd2b6ed;hb=eaca6b486a6714857f007950e770ac8f6b244511;hp=bbd37054f1affe20ceafd77505bb203ab49f24d2;hpb=8d70667887ba081d76075e8959adafb22983b03a;p=ccan diff --git a/tools/ccanlint/Makefile b/tools/ccanlint/Makefile index bbd37054..974e7388 100644 --- a/tools/ccanlint/Makefile +++ b/tools/ccanlint/Makefile @@ -11,8 +11,9 @@ CORE_OBJS := tools/ccanlint/ccanlint.o \ ccan/str_talloc/str_talloc.o ccan/grab_file/grab_file.o \ ccan/btree/btree.o \ ccan/talloc/talloc.o ccan/noerr/noerr.o \ + ccan/foreach/foreach.o \ ccan/read_write_all/read_write_all.o \ - ccan/opt/opt.o ccan/opt/usage.o ccan/opt/helpers.o + ccan/opt/opt.o ccan/opt/usage.o ccan/opt/helpers.o ccan/opt/parse.o OBJS := $(CORE_OBJS) $(TEST_OBJS) @@ -25,7 +26,7 @@ tools/ccanlint/generated-compulsory-tests: $(COMPULSORY_TEST_CFILES) $(TEST_OBJS): tools/ccanlint/generated-normal-tests tools/ccanlint/generated-compulsory-tests # Otherwise, ccanlint.c et al. may fail to build -$(CORE_OBJS): tools/ccanlint/generated-normal-tests tools/ccanlint/generated-compulsory-tests +$(CORE_OBJS): tools/ccanlint/generated-normal-tests tools/ccanlint/generated-compulsory-tests config.h tools/ccanlint/ccanlint: $(OBJS)