diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-01-13 04:59:11 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-01-13 04:59:11 +0000 |
commit | 12dd4dd914b26ef48f6d6b7f49077d62b63be217 (patch) | |
tree | 40455f88c69fa072c1120dbd4f644510cb6fba56 /externals/grill/flext/buildsys/gnumake.mak | |
parent | e39ca045a8ef5c6f2e6f1fbd3aba8bd2641296b2 (diff) |
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
Diffstat (limited to 'externals/grill/flext/buildsys/gnumake.mak')
-rw-r--r-- | externals/grill/flext/buildsys/gnumake.mak | 21 |
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 |