]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/Makefile
ccanlint: fix SEGV when example has format string.
[ccan] / tools / ccanlint / Makefile
index b84b8353fa2da22c8692963acfd8919e6854f304..043c3fd2c7d17b82063350fa7c0fb52a67ee789e 100644 (file)
@@ -9,8 +9,13 @@ CORE_OBJS := tools/ccanlint/ccanlint.o \
        tools/tools.o \
        tools/compile.o \
        ccan/str_talloc/str_talloc.o ccan/grab_file/grab_file.o \
+       ccan/str/str.o \
+       ccan/asort/asort.o \
        ccan/btree/btree.o \
        ccan/talloc/talloc.o ccan/noerr/noerr.o \
+       ccan/talloc_link/talloc_link.o ccan/noerr/noerr.o \
+       ccan/foreach/foreach.o \
+       ccan/hash/hash.o ccan/htable/htable.o \
        ccan/read_write_all/read_write_all.o \
        ccan/opt/opt.o ccan/opt/usage.o ccan/opt/helpers.o ccan/opt/parse.o
 
@@ -25,7 +30,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)