Skip to content

Commit

Permalink
Rules.make: Don't complain about missing g.echo.exe until it's compil…
Browse files Browse the repository at this point in the history
…ed and needed (#45)
  • Loading branch information
HuidaeCho authored and landam committed Jul 16, 2019
1 parent 91d86d2 commit a137e03
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/Make/Rules.make
Expand Up @@ -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
Expand Down

0 comments on commit a137e03

Please sign in to comment.