aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/win
diff options
context:
space:
mode:
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