summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnicronNL <UnicronNL@users.noreply.github.com>2014-08-25 14:34:05 +0200
committerUnicronNL <UnicronNL@users.noreply.github.com>2014-08-25 14:34:05 +0200
commit0fff50dbc06e6cbc673b724daa2a50704dfe94c9 (patch)
tree7f661ea57f1f1b8840a3f64942c2eef14992cda7
parent9411b5673eeb3cc97125af489f90b33b14fb5739 (diff)
downloadvyos-opennhrp-0fff50dbc06e6cbc673b724daa2a50704dfe94c9.tar.gz
vyos-opennhrp-0fff50dbc06e6cbc673b724daa2a50704dfe94c9.zip
Check if Makefile exists
-rw-r--r--Make.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/Make.rules b/Make.rules
index 4caa3ee..0160198 100644
--- a/Make.rules
+++ b/Make.rules
@@ -97,10 +97,14 @@ obj := $(build)
##
# Include directory specific stuff
+ifeq (,$(wildcard Makefile))
+include Makefile
+else
ifneq ($(build),)
$(build)/Makefile: ;
include $(build)/Makefile
endif
+endif
##
# Rules and helpers