From 12dd4dd914b26ef48f6d6b7f49077d62b63be217 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Thu, 13 Jan 2005 04:59:11 +0000 Subject: various fixes to build system fixes for build system better templates, some minor changes build system: added profiler mode, more fixes added ICC/linux support small optimizations svn path=/trunk/; revision=2498 --- externals/grill/flext/buildsys/gnumake.mak | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'externals/grill/flext/buildsys/gnumake.mak') 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 -- cgit v1.2.1