summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make/template/main.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index c06e92fea..e2688cefa 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -101,7 +101,7 @@ all: $(FOOTER)
target: $(HEADER)
$(MAKEENV) perl make/calcdep.pl
- $(MAKEENV) $(MAKE) -C $(BUILDPATH) -f real.mk $(TARGET)
+ cd $(BUILDPATH); $(MAKEENV) $(MAKE) -f real.mk $(TARGET)
debug:
@${MAKE} D=1 all