On Cygwin, Make wants to see Unix-style pathnames

This commit is contained in:
Tor Lillqvist 2012-02-10 13:53:45 +02:00 committed by Tor Lillqvist
parent cd2644df49
commit 386161779b

View file

@ -365,11 +365,17 @@ endif
#
# Bootstap
#
$(WORKDIR)/bootstrap:
ifeq ($(OS_FOR_BUILD),WNT)
WORKDIR_BOOTSTRAP=$(shell cygpath -u $(WORKDIR))/bootstrap
else
WORKDIR_BOOTSTRAP=$(WORKDIR)/bootstrap
endif
$(WORKDIR_BOOTSTRAP):
@cd $(SRCDIR) && ./bootstrap
@mkdir -p $(dir $@) && touch $@
bootstrap: $(WORKDIR)/bootstrap
bootstrap: $(WORKDIR_BOOTSTRAP)
#
# Build