diff options
author | Elian Gidoni <[email protected]> | 2013-08-20 12:13:00 -0300 |
---|---|---|
committer | Elian Gidoni <[email protected]> | 2013-08-20 12:13:00 -0300 |
commit | e505ccf0f1985ece7ae849d7c34b61bde8a2b53f (patch) | |
tree | 97a97f062ba389154b1422e7cbc8b56fd069e369 | |
parent | e2d676f36eefb396c06442b490dcf0aa259152f7 (diff) | |
download | erlang.mk-e505ccf0f1985ece7ae849d7c34b61bde8a2b53f.tar.gz erlang.mk-e505ccf0f1985ece7ae849d7c34b61bde8a2b53f.tar.bz2 erlang.mk-e505ccf0f1985ece7ae849d7c34b61bde8a2b53f.zip |
Compile files from src/ subdirs
-rw-r--r-- | erlang.mk | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -99,9 +99,11 @@ define compile_dtl init:stop()' endef -ebin/$(PROJECT).app: src/*.erl $(wildcard src/*.core) \ - $(wildcard src/*.xrl) $(wildcard src/*.yrl) \ - $(wildcard templates/*.dtl) +ebin/$(PROJECT).app: $(shell find src -name \*.erl) \ + $(shell find src -name \*.core) \ + $(shell find src -name \*.xrl) \ + $(shell find src -name \*.yrl) \ + $(shell find templates -name \*.dtl 2>/dev/null) @mkdir -p ebin/ $(if $(strip $(filter %.erl %.core,$?)), \ $(call compile_erl,$(filter %.erl %.core,$?))) |