Pārlūkot izejas kodu

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

Huidae Cho 5 gadi atpakaļ
vecāks
revīzija
fca1b4079e
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  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