瀏覽代碼

Rules.make: Don't complain about missing g.echo.exe until it's compiled and needed (#45)

Huidae Cho 5 年之前
父節點
當前提交
fca1b4079e
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      include/Make/Rules.make

+ 5 - 0
include/Make/Rules.make

@@ -22,7 +22,12 @@ $(ARCH_INCDIR)/%.h: %.h
 	$(INSTALL_DATA) $< $@
 
 ifneq ($(MINGW),)
+ifeq ($(wildcard $(TOOLSDIR)/g.echo$(EXE)),)
+# dummy path until g.echo.exe gets compiled and is needed
+mkpath = $(1);$(2)
+else
 mkpath = $(shell $(TOOLSDIR)/g.echo$(EXE) $(1));$(2)
+endif
 else
 mkpath = $(1):$(2)
 endif