diff options
author | Loïc Hoguin <[email protected]> | 2015-09-02 18:17:15 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-09-02 18:17:15 +0200 |
commit | bdfcb324f780c90de199b908837875dfc9b2e439 (patch) | |
tree | 3375e7abe230520ce03f926771d87c50a4f7fa18 /circle.yml | |
parent | a98a7b749421460387dd879bef16f5181cf5d6a2 (diff) | |
download | erlang.mk-bdfcb324f780c90de199b908837875dfc9b2e439.tar.gz erlang.mk-bdfcb324f780c90de199b908837875dfc9b2e439.tar.bz2 erlang.mk-bdfcb324f780c90de199b908837875dfc9b2e439.zip |
Add dependency tracking (makedep)
This is a very large change of a central part of Erlang.mk.
I will admit that I am not quite confident on that one. If
you do have issues following this change, please open a
ticket and I will look at it immediately.
At this point, it works for me, but I wouldn't be surprised
to hear about a few minor issues.
This commit introduces a dependency file $(PROJECT).d which
contains Makefile rules between Erlang source files and
headers, behaviors and parse_transforms. This allows us
to rebuild only the files that are needed.
The $(PROJECT).d is generated automatically when missing,
and when any of the files change.
It is possible to hook before and after this generation,
by defining a $(PROJECT).d:: rule. This allows users to
generate Erlang files which are then compiled by Erlang.mk
automatically (and to track their dependencies, of course).
Here goes nothing...
Diffstat (limited to 'circle.yml')
0 files changed, 0 insertions, 0 deletions