aboutsummaryrefslogtreecommitdiffstats
path: root/core/erlc.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-05-31 15:05:55 +0300
committerLoïc Hoguin <[email protected]>2015-06-01 12:58:12 +0300
commit2f2c1089391999a3ba5fe9aeab3ca9f43e64439b (patch)
tree50859519db6c4deee3559b6c6260b6e2007a387a /core/erlc.mk
parent56f93881b3f0db67eec6509945c532d96e292674 (diff)
downloaderlang.mk-2f2c1089391999a3ba5fe9aeab3ca9f43e64439b.tar.gz
erlang.mk-2f2c1089391999a3ba5fe9aeab3ca9f43e64439b.tar.bz2
erlang.mk-2f2c1089391999a3ba5fe9aeab3ca9f43e64439b.zip
More autopatch fixes
Some projects had their modules section filled incorrectly, this has been fixed. Merl (used by erlydtl) had its .app file incorrectly moved to .app.src despite having its own Makefile. This has been fixed. A new g++ warning caused some projects with -Werror to fail to compile, this has been fixed. The include path given in rebar.config is now properly used. The project concuerror has been removed temporarily due to a recent change that broke the auto detection. The projects ircbot, exmpp and tsung have been removed temporarily due to broken modules section and will need a custom patch and/or a PR sent to fix them.
Diffstat (limited to 'core/erlc.mk')
-rw-r--r--core/erlc.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/erlc.mk b/core/erlc.mk
index 18e8814..08f4f27 100644
--- a/core/erlc.mk
+++ b/core/erlc.mk
@@ -101,12 +101,10 @@ ebin/$(PROJECT).app:: $(shell find mibs -type f -name \*.mib)
$(if $(strip $?),$(call compile_mib,$?))
endif
-ebin/$(PROJECT).app:: $(shell find src -type f -name \*.erl) \
- $(shell find src -type f -name \*.core)
+ebin/$(PROJECT).app:: $(shell find src -type f -name \*.erl -o -name \*.core)
$(if $(strip $?),$(call compile_erl,$?))
-ebin/$(PROJECT).app:: $(shell find src -type f -name \*.xrl) \
- $(shell find src -type f -name \*.yrl)
+ebin/$(PROJECT).app:: $(shell find src -type f -name \*.xrl -o -name \*.yrl)
$(if $(strip $?),$(call compile_xyrl,$?))
endif