diff options
author | Peter Foley <pefoley2@verizon.net> | 2012-03-06 17:43:07 -0500 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2012-03-07 10:34:06 -0500 |
commit | 5b2b793caeed16e5d7d63cb5ce8a07289051dca8 (patch) | |
tree | 39caeb5c6ca217de1237d2e973b8412620f1e246 /Makefile | |
parent | 2d7550d53fdc3fa85adc8da69f692ec3c64bc12b (diff) |
fix make dependencies for windows
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -341,12 +341,19 @@ ifneq ($(filter-out clean distclean,$(MAKECMDGOALS)),) # but I couldn't find a way to get make to # restart after an autogen. and we _have_ to # restart since autogen can have changed -# config_host.k which is included in this +# config_host.mk which is included in this # Makefile -Makefile: $(SRCDIR)/config_host.mk + +ifeq ($(OS_FOR_BUILD),WNT) +CONFIG_HOST_MK=$(shell cygpath -u $(SRCDIR))/config_host.mk +else +CONFIG_HOST_MK=$(SRCDIR)/config_host.mk +endif + +Makefile: $(CONFIG_HOST_MK) touch $@ -$(SRCDIR)/config_host.mk : config_host.mk.in bin/repo-list.in ooo.lst.in configure.in autogen.lastrun +$(CONFIG_HOST_MK) : config_host.mk.in bin/repo-list.in ooo.lst.in configure.in autogen.lastrun ./autogen.sh autogen.lastrun: |