Commit fff2c850 authored by Rusty Russell's avatar Rusty Russell

tools: reorder object files into alphabetical order.

Simplifies future patches.
parent 8a93e82d
ALL_TOOLS = tools/configurator/configurator tools/ccan_depends tools/doc_extract tools/namespacize tools/ccanlint/ccanlint ALL_TOOLS = tools/configurator/configurator tools/ccan_depends tools/doc_extract tools/namespacize tools/ccanlint/ccanlint
DEP_OBJS = tools/depends.o tools/compile.o tools/tools.o ccan/str_talloc/str_talloc.o ccan/str/str.o ccan/str/debug.o ccan/grab_file/grab_file.o ccan/talloc/talloc.o ccan/noerr/noerr.o ccan/read_write_all/read_write_all.o DEP_OBJS = ccan/grab_file/grab_file.o \
ccan/noerr/noerr.o \
ccan/read_write_all/read_write_all.o \
ccan/str/debug.o \
ccan/str/str.o \
ccan/str_talloc/str_talloc.o \
ccan/talloc/talloc.o \
tools/compile.o \
tools/depends.o \
tools/tools.o
.PHONY: tools .PHONY: tools
tools: $(ALL_TOOLS) tools: $(ALL_TOOLS)
......
...@@ -2,23 +2,30 @@ COMPULSORY_TEST_CFILES := $(wildcard tools/ccanlint/compulsory_tests/*.c) ...@@ -2,23 +2,30 @@ COMPULSORY_TEST_CFILES := $(wildcard tools/ccanlint/compulsory_tests/*.c)
NORMAL_TEST_CFILES := $(wildcard tools/ccanlint/tests/*.c) NORMAL_TEST_CFILES := $(wildcard tools/ccanlint/tests/*.c)
TEST_OBJS := $(NORMAL_TEST_CFILES:.c=.o) $(COMPULSORY_TEST_CFILES:.c=.o) TEST_OBJS := $(NORMAL_TEST_CFILES:.c=.o) $(COMPULSORY_TEST_CFILES:.c=.o)
CORE_OBJS := tools/ccanlint/ccanlint.o \ CORE_OBJS := \
tools/ccanlint/file_analysis.o \
tools/ccanlint/licenses.o \
tools/doc_extract-core.o \
tools/depends.o \
tools/tools.o \
tools/compile.o \
ccan/str_talloc/str_talloc.o ccan/grab_file/grab_file.o \
ccan/str/str.o ccan/str/debug.o \
ccan/asort/asort.o \ ccan/asort/asort.o \
ccan/btree/btree.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/foreach/foreach.o \
ccan/hash/hash.o ccan/htable/htable.o \ ccan/grab_file/grab_file.o \
ccan/hash/hash.o \
ccan/htable/htable.o \
ccan/noerr/noerr.o \
ccan/opt/helpers.o \
ccan/opt/opt.o \
ccan/opt/parse.o \
ccan/opt/usage.o \
ccan/read_write_all/read_write_all.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 ccan/str/str.o ccan/str/debug.o \
ccan/str_talloc/str_talloc.o \
ccan/talloc/talloc.o \
ccan/talloc_link/talloc_link.o \
tools/ccanlint/ccanlint.o \
tools/ccanlint/file_analysis.o \
tools/ccanlint/licenses.o \
tools/compile.o \
tools/depends.o \
tools/doc_extract-core.o \
tools/tools.o
OBJS := $(CORE_OBJS) $(TEST_OBJS) OBJS := $(CORE_OBJS) $(TEST_OBJS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment