Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ALL_TOOLS = tools/configurator/configurator tools/ccan_depends tools/doc_extract tools/namespacize tools/ccanlint/ccanlint
  2. LDLIBS = -lrt
  3. DEP_OBJS = ccan/err/err.o \
  4. ccan/foreach/foreach.o \
  5. ccan/list/list.o \
  6. ccan/noerr/noerr.o \
  7. ccan/rbuf/rbuf.o \
  8. ccan/read_write_all/read_write_all.o \
  9. ccan/str/debug.o \
  10. ccan/str/str.o \
  11. ccan/take/take.o \
  12. ccan/tal/tal.o \
  13. ccan/tal/grab_file/grab_file.o \
  14. ccan/tal/link/link.o \
  15. ccan/tal/path/path.o \
  16. ccan/tal/str/str.o \
  17. ccan/time/time.o \
  18. tools/read_config_header.o \
  19. tools/ccan_dir.o \
  20. tools/compile.o \
  21. tools/depends.o \
  22. tools/tools.o
  23. .PHONY: tools
  24. tools: $(ALL_TOOLS)
  25. tools/ccan_depends.o: config.h
  26. tools/ccan_depends: tools/ccan_depends.o $(DEP_OBJS)
  27. tools/doc_extract: tools/doc_extract.o tools/doc_extract-core.o $(DEP_OBJS)
  28. tools/namespacize: tools/namespacize.o $(DEP_OBJS)
  29. tools/namespacize.o tools/depends.o: tools/tools.h
  30. tools/configurator/configurator: tools/configurator/configurator.c
  31. tools-clean: ccanlint-clean
  32. $(RM) $(ALL_TOOLS)
  33. include tools/ccanlint/Makefile