Let's build again after the support for GL_ARB_draw_buffers was added.
[mesa.git] / Makefile.mgw
index 6f53efd55d8aa7c91b0d4b39132edb0c241765e2..0940fda686d90d5c40f1e9927b619dc41ab72234 100644 (file)
 .PHONY : all libgl clean realclean
 
 CPU ?= pentium
-\r
-# 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
+else
+  # I love c89
+  CFLAGS = -Wall -W -pedantic
+endif
 CFLAGS += -O2 -ffast-math -mcpu=$(CPU)
 
 export CFLAGS