Makefile
changeset 1324 9295c63a1ce1
parent 1317 3c90086ff34f
child 1411 2ff543ac50a7
equal deleted inserted replaced
1323:bac2e38e8b60 1324:9295c63a1ce1
   271 
   271 
   272 # GNU make can only test for (in)equality
   272 # GNU make can only test for (in)equality
   273 # this is a workaround to test for >=
   273 # this is a workaround to test for >=
   274 ifeq ($(shell if test $(CC_VERSION) -ge 29; then echo true; fi), true)
   274 ifeq ($(shell if test $(CC_VERSION) -ge 29; then echo true; fi), true)
   275   CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes
   275   CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes
   276   CFLAGS += -Wwrite-strings
   276   CFLAGS += -Wwrite-strings -Wpointer-arith
   277 endif
   277 endif
   278 ifeq ($(shell if test $(CC_VERSION) -ge 30; then echo true; fi), true)
   278 ifeq ($(shell if test $(CC_VERSION) -ge 30; then echo true; fi), true)
   279   CFLAGS += -W -Wno-unused-parameter
   279   CFLAGS += -W -Wno-unused-parameter
   280 endif
   280 endif
   281 ifeq ($(shell if test $(CC_VERSION) -ge 34; then echo true; fi), true)
   281 ifeq ($(shell if test $(CC_VERSION) -ge 34; then echo true; fi), true)