comparison Gui/Makefile @ 8255:97e8dfe61ab1

check for -Wall support & use it if available patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>) arpi, feel free to reverse if u dont like -Wall
author michael
date Sat, 23 Nov 2002 11:01:23 +0000
parents 6892658f9125
children 226e6866212d
comparison
equal deleted inserted replaced
8254:772d6d27fd66 8255:97e8dfe61ab1
5 include config.mak 5 include config.mak
6 6
7 INCDIR = -I. -I../loader -I./wm -I./skin $(FREETYPE_INC) $(GTKINC) $(EXTRA_INC) 7 INCDIR = -I. -I../loader -I./wm -I./skin $(FREETYPE_INC) $(GTKINC) $(EXTRA_INC)
8 8
9 OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \ 9 OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \
10 -fexpensive-optimizations -fschedule-insns2 -Wall 10 -fexpensive-optimizations -fschedule-insns2
11 ifeq ($(TARGET_ARCH_X86),yes) 11 ifeq ($(TARGET_ARCH_X86),yes)
12 OPTIMIZE += -malign-double 12 OPTIMIZE += -malign-double
13 endif 13 endif
14 14
15 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG) 15 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG)