diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-02-10 13:53:45 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-02-10 14:14:35 +0200 |
commit | 386161779b55755f145106cd53c5df80967e1c3b (patch) | |
tree | 7c9ce9a09fcac4717acc079b2d3bd91ede4b9847 | |
parent | cd2644df499dd0874514028ccd4f42571464e6a3 (diff) |
On Cygwin, Make wants to see Unix-style pathnames
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 |