From 0fff50dbc06e6cbc673b724daa2a50704dfe94c9 Mon Sep 17 00:00:00 2001 From: UnicronNL Date: Mon, 25 Aug 2014 14:34:05 +0200 Subject: Check if Makefile exists --- Make.rules | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Make.rules') 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 -- cgit v1.2.3