1. 03 Apr, 2017 1 commit
  2. 21 Sep, 2016 1 commit
    • Jon Griffiths's avatar
      Makefile: First try at rewriting the ccan Makefile. · 2ee3b7c5
      Jon Griffiths authored
      This change contains a simpler Makefile replacement with only 62 lines
      of directives, 10 rules, and a 13 line support script for dependencies. The
      build dependencies have been minimised and in some cases, corrected.
      
      FEATURES:
      * All targets can be built from a clean tree in one invocation.
      * Parallel builds (tested with -j32 on 8 cores).
      * Auto discovery of modules via _info files.
      * Hopefully complete dependencies via a simplified generator.
      * CFLAGS are respected and appended to compile flags.
      * LINTFLAGS can be set to add check options (e.g. LINTFLAGS=-v).
      * 'make clean' doesn't build anything before cleaning now.
      * 'make quiet=1' builds quietly. 'make check quiet=1 -j N' produces
        summary output like the former summary target.
      * Non-phony test targets; tests are rebuilt only when dirty. Targets are:
        check, fastcheck and fullcheck, the latter runs in non-summary mode.
      * 'make <module>.[check|fastcheck|fullcheck]' runs tests for single modules.
      
      TODO:
      * Support Makefile-web and any other scattered targets
      
      NOTES:
      * The changes to dependency generation expose a circular
        dependency between asort and order which is not fixed here.
      * Tests always run their dependent tests. With -j support and
        minimised rebuilds via tighter dependencies, its not worth avoiding.
      * Some targets have been dropped as uneeded (e.g. distclean, tools).
      Signed-off-by: 's avatarJon Griffiths <jon_p_griffiths@yahoo.com>
      2ee3b7c5
  3. 09 Jul, 2015 1 commit
  4. 01 Aug, 2014 1 commit
  5. 22 Nov, 2012 1 commit
  6. 21 Nov, 2012 1 commit
  7. 17 May, 2012 1 commit
  8. 01 Dec, 2011 1 commit
  9. 04 Feb, 2011 1 commit
  10. 07 Jan, 2011 1 commit
  11. 03 Nov, 2010 1 commit
  12. 26 Oct, 2010 1 commit
  13. 25 Sep, 2009 1 commit
  14. 18 Jul, 2009 1 commit
  15. 29 Mar, 2009 1 commit
  16. 25 Feb, 2009 1 commit
    • Rusty Russell's avatar
      Major cleanup of makefiles, api tests. · 9d724ba2
      Rusty Russell authored
      We no longer use libccan for tests, but explicit object lists.  This 
      will catch missing dependencies.  API tests *do* get the module object
      linked in now.
      In addition, makefiles now correctly rebuild when a dependency changes
      (gcc's -MD here), and when _info.c changes.
      9d724ba2
  17. 31 Jul, 2008 1 commit
  18. 28 Jul, 2008 1 commit
  19. 23 Jun, 2008 1 commit
  20. 20 Dec, 2007 1 commit
  21. 05 Dec, 2007 1 commit