summaryrefslogtreecommitdiff
path: root/Makefile.mgw
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2004-08-30 08:34:52 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2004-08-30 08:34:52 +0000
commiteec588be6fd9b3c082aae8588e9bfeafb23d95dc (patch)
tree6abfaa223d1ac28ac9874ce4d5afd15f9505622f /Makefile.mgw
parenta5bc6421dfe5c7b0153a28b999c444267835f02b (diff)
Werror is bad, unless you know what you are doing
Diffstat (limited to 'Makefile.mgw')
-rw-r--r--Makefile.mgw11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.mgw b/Makefile.mgw
index 6f53efd55d8..294f35559ff 100644
--- a/Makefile.mgw
+++ b/Makefile.mgw
@@ -58,9 +58,14 @@
.PHONY : all libgl clean realclean
CPU ?= pentium
-
-# when -std=c99 mingw will not define WIN32
-CFLAGS = -Wall -W -Werror -pedantic -std=c99 -DWIN32
+
+ifeq ($(ICD),1)
+ # when -std=c99 mingw will not define WIN32
+ CFLAGS = -Wall -W -Werror -pedantic -std=c99 -DWIN32
+else
+ # I love c89
+ CFLAGS = -Wall -W -pedantic
+endif
CFLAGS += -O2 -ffast-math -mcpu=$(CPU)
export CFLAGS