aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/gnumake.mak
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/buildsys/gnumake.mak')
-rw-r--r--externals/grill/flext/buildsys/gnumake.mak21
1 files changed, 21 insertions, 0 deletions
diff --git a/externals/grill/flext/buildsys/gnumake.mak b/externals/grill/flext/buildsys/gnumake.mak
index 4f9ca055..85559e13 100644
--- a/externals/grill/flext/buildsys/gnumake.mak
+++ b/externals/grill/flext/buildsys/gnumake.mak
@@ -84,22 +84,38 @@ include $(BUILDPATH)targets-$(BUILDCLASS).inc
.PRECIOUS: $(SYSCONFIG) $(USRCONFIG)
$(SYSCONFIG): $(SYSDEFAULT)
+ifeq ($(COMPILER),mingw)
+ @copy $(subst /,\,$<) $(subst /,\,$@)
+else
@cp $< $@
+endif
@echo -------------------------------------------------------------------------
@echo A default system configuration file has been created.
@echo Please edit $(SYSCONFIG)
@echo to match your platform, then start again.
@echo -------------------------------------------------------------------------
+ifeq ($(COMPILER),mingw)
+ @exit 1
+else
@false
+endif
ifdef BUILDDIR
$(USRCONFIG): $(USRDEFAULT)
+ifeq ($(COMPILER),mingw)
+ @copy $(subst /,\,$<) $(subst /,\,$@)
+else
@cp $< $@
+endif
@echo -------------------------------------------------------------------------
@echo A default package configuration file has been created.
@echo Please edit $(USRCONFIG), then start again.
@echo -------------------------------------------------------------------------
+ifeq ($(COMPILER),mingw)
+ @exit 1
+else
@false
+endif
$(USRDEFAULT) $(USRMAKE):
@echo -------------------------------------------------------------------------
@@ -109,5 +125,10 @@ $(USRDEFAULT) $(USRMAKE):
@echo and
@echo $(USRMAKE)
@echo -------------------------------------------------------------------------
+ifeq ($(COMPILER),mingw)
+ @exit 1
+else
@false
endif
+
+endif