diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2004-12-20 05:06:19 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2004-12-20 05:06:19 +0000 |
commit | 6dacabe813f4ccab33669b5dd3e3b5f61be500af (patch) | |
tree | 81abcc117357483b0a0dc0a1a7ba5b118964775f /externals/grill/flext/build/bmake.mak | |
parent | 5370cdab3db6ddfa60fef41ca22756284fa700dd (diff) |
simplified make system
updated make system for BCC
updated make system
updated build system
svn path=/trunk/; revision=2416
Diffstat (limited to 'externals/grill/flext/build/bmake.mak')
-rw-r--r-- | externals/grill/flext/build/bmake.mak | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/externals/grill/flext/build/bmake.mak b/externals/grill/flext/build/bmake.mak deleted file mode 100644 index 1a3fc47d..00000000 --- a/externals/grill/flext/build/bmake.mak +++ /dev/null @@ -1,78 +0,0 @@ -# required settings:
-#
-# PLATFORM - win/mac/lnx
-# RTSYS - pd/max
-# COMPILER - msvc/gcc/mingw/cygwin
-# BUILDPATH including trailing \
-
-# package info
-!include build\package.txt
-
-SYSCONFIG=$(BUILDPATH)config-$(PLATFORM)-$(RTSYS)-$(COMPILER).txt
-SYSDEFAULT=$(BUILDPATH)$(PLATFORM)\$(RTSYS)\config-$(COMPILER).def
-
-
-OPTIONS=-f $(BUILDPATH)bmake-sub.mak -N \
- PLATFORM=$(PLATFORM) RTSYS=$(RTSYS) COMPILER=$(COMPILER) \
- BUILDPATH=$(BUILDPATH)
-
-!ifdef HAVECONFIG
-USRCONFIG=config.txt
-USRDEFAULT=build\config-$(PLATFORM).def
-OPTIONS=$(OPTIONS) USRCONFIG=$(USRCONFIG)
-!endif
-
-!ifdef HAVEMAKE
-USRMAKE=build\makefile-$(PLATFORM)-$(COMPILER).inc
-OPTIONS=$(OPTIONS) USRMAKE=$(USRMAKE)
-!endif
-
-
-all: config
- $(MAKE) $(OPTIONS) all
-
-all-debug: config
- $(MAKE) $(OPTIONS) DEBUG=1 $@
-
-all-shared: config
- $(MAKE) $(OPTIONS) SHARED=1 $@
-
-all-shared-debug: config
- $(MAKE) $(OPTIONS) SHARED=1 DEBUG=1 $@
-
-clean install:
- $(MAKE) $(OPTIONS) $@
-
-
-config: $(USRMAKE) $(SYSCONFIG) $(USRCONFIG)
-
-
-.precious: $(SYSCONFIG) $(USRCONFIG)
-
-$(SYSCONFIG): $(SYSDEFAULT)
- @copy $** $@
- @echo -------------------------------------------------------------------------
- @echo A default system configuration file has been created.
- @echo Please edit $(SYSCONFIG)
- @echo to match your platform and start again.
- @echo -------------------------------------------------------------------------
- @exit 1
-
-!ifdef HAVECONFIG
-$(USRCONFIG): $(USRDEFAULT)
- @copy $** $@
- @echo -------------------------------------------------------------------------
- @echo A default package configuration file has been created.
- @echo Please edit $(USRCONFIG) and start again.
- @echo -------------------------------------------------------------------------
- @exit 1
-!endif
-
-!ifdef HAVEMAKE
-$(USRMAKE):
- @echo -------------------------------------------------------------------------
- @echo Your combination of platform, system and compiler is not supported yet.
- @echo Required file: $(USRMAKE)
- @echo -------------------------------------------------------------------------
- @exit 1
-!endif
|