aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorAndrei Neculau <[email protected]>2014-07-22 14:33:18 +0200
committerAndrei Neculau <[email protected]>2014-07-22 14:33:18 +0200
commit8d3313b8b36728c159a577f17349d63aaa6badd3 (patch)
treeabeabad2362acd85118db92a5c3d840214deeac4 /erlang.mk
parentf2e7ca3b3d9562b186fb276c72ee7f45a8304c32 (diff)
downloaderlang.mk-8d3313b8b36728c159a577f17349d63aaa6badd3.tar.gz
erlang.mk-8d3313b8b36728c159a577f17349d63aaa6badd3.tar.bz2
erlang.mk-8d3313b8b36728c159a577f17349d63aaa6badd3.zip
Improve detection of dependency support for make
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/erlang.mk b/erlang.mk
index d29632c..5173da9 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -183,7 +183,7 @@ $(foreach dep,$(DEPS),$(eval $(call dep_target,$(dep))))
deps: $(ALL_DEPS_DIRS)
@for dep in $(ALL_DEPS_DIRS) ; do \
- if [ -f $$dep/Makefile ] ; then \
+ if [ -f $$dep/GNUmakefile ] || [ -f $$dep/makefile ] || [ -f $$dep/Makefile ] ; then \
$(MAKE) -C $$dep ; \
else \
echo "include $(CURDIR)/erlang.mk" | $(MAKE) -f - -C $$dep ; \
@@ -192,7 +192,7 @@ deps: $(ALL_DEPS_DIRS)
clean-deps:
@for dep in $(ALL_DEPS_DIRS) ; do \
- if [ -f $$dep/Makefile ] ; then \
+ if [ -f $$dep/GNUmakefile ] || [ -f $$dep/makefile ] || [ -f $$dep/Makefile ] ; then \
$(MAKE) -C $$dep clean ; \
else \
echo "include $(CURDIR)/erlang.mk" | $(MAKE) -f - -C $$dep clean ; \