aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/win
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-01-10 04:58:42 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-01-10 04:58:42 +0000
commit97492d5628f603856df9a3dd2abd55d33918dc4f (patch)
tree2f6f8d9db7be57daf1df87a0a89a413487a124ff /externals/grill/flext/buildsys/win
parent53c16e06983f9b03464f41b8c0ed3206382c5538 (diff)
better templates, some minor changes
build system: added profiler mode, more fixes svn path=/trunk/; revision=2486
Diffstat (limited to 'externals/grill/flext/buildsys/win')
-rw-r--r--externals/grill/flext/buildsys/win/bmake-bcc.inc6
-rw-r--r--externals/grill/flext/buildsys/win/gnumake-cygwin.inc10
-rw-r--r--externals/grill/flext/buildsys/win/gnumake-mingw.inc10
-rw-r--r--externals/grill/flext/buildsys/win/nmake-msvc.inc4
4 files changed, 13 insertions, 17 deletions
diff --git a/externals/grill/flext/buildsys/win/bmake-bcc.inc b/externals/grill/flext/buildsys/win/bmake-bcc.inc
index 131dc61e..6e9e142b 100644
--- a/externals/grill/flext/buildsys/win/bmake-bcc.inc
+++ b/externals/grill/flext/buildsys/win/bmake-bcc.inc
@@ -28,13 +28,9 @@ LDFLAGS=$(LDFLAGS) /C /Tpd
##############################################
-CFLAGS=$(CFLAGS) $(UFLAGS)
-
!ifdef DEBUG
-CFLAGS=$(CFLAGS) -v -D_DEBUG
+CFLAGS=$(CFLAGS) -v
LDFLAGS=$(LDFLAGS) /v
-!else
-CFLAGS=$(CFLAGS) $(OFLAGS) -DNDEBUG
!endif
##############################################
diff --git a/externals/grill/flext/buildsys/win/gnumake-cygwin.inc b/externals/grill/flext/buildsys/win/gnumake-cygwin.inc
index 70a4601e..51866686 100644
--- a/externals/grill/flext/buildsys/win/gnumake-cygwin.inc
+++ b/externals/grill/flext/buildsys/win/gnumake-cygwin.inc
@@ -11,14 +11,16 @@ LDFLAGS += -pthread -shared
##############################################
-CFLAGS += $(UFLAGS)
-
ifdef DEBUG
-CFLAGS += -g -D_DEBUG
+CFLAGS += -g
+else
+ifdef PROFILE
+CFLAGS += -g -pg
+LDFLAGS += -pg
else
-CFLAGS += $(OFLAGS) -DNDEBUG
LDFLAGS += -Wl,-S
endif
+endif
##############################################
diff --git a/externals/grill/flext/buildsys/win/gnumake-mingw.inc b/externals/grill/flext/buildsys/win/gnumake-mingw.inc
index 1bb72d6b..35ffc3a4 100644
--- a/externals/grill/flext/buildsys/win/gnumake-mingw.inc
+++ b/externals/grill/flext/buildsys/win/gnumake-mingw.inc
@@ -11,14 +11,16 @@ LDFLAGS += -pthread -shared
##############################################
-CFLAGS += $(UFLAGS)
-
ifdef DEBUG
-CFLAGS += -g -D_DEBUG
+CFLAGS += -g
+else
+ifdef PROFILE
+CFLAGS += -g -pg
+LDFLAGS += -pg
else
-CFLAGS += $(OFLAGS) -DNDEBUG
LDFLAGS += -Wl,-S
endif
+endif
##############################################
diff --git a/externals/grill/flext/buildsys/win/nmake-msvc.inc b/externals/grill/flext/buildsys/win/nmake-msvc.inc
index b1fe1acc..826e99fb 100644
--- a/externals/grill/flext/buildsys/win/nmake-msvc.inc
+++ b/externals/grill/flext/buildsys/win/nmake-msvc.inc
@@ -30,11 +30,8 @@ LDFLAGS=$(LDFLAGS) /nologo
##############################################
-CFLAGS=$(CFLAGS) $(UFLAGS)
-
!ifdef DEBUG
-CFLAGS=$(CFLAGS) /D_DEBUG
!ifdef DYNAMIC
CFLAGS=$(CFLAGS) /MDd
!else
@@ -45,7 +42,6 @@ LDFLAGS=$(LDFLAGS) /DEBUG
!else
-CFLAGS=$(CFLAGS) $(OFLAGS) /DNDEBUG
!ifdef DYNAMIC
CFLAGS=$(CFLAGS) /MD
!else