]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/Makefile
ccanlint: prepend module headers before standard ones.
[ccan] / tools / ccanlint / Makefile
index 5398d380d0c9a4626dcffa14718a3d9f93940db6..043c3fd2c7d17b82063350fa7c0fb52a67ee789e 100644 (file)
@@ -9,9 +9,15 @@ 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/read_write_all/read_write_all.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
 
 OBJS := $(CORE_OBJS) $(TEST_OBJS)
 
@@ -24,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)