Makefile 1.2 KB

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