Some fixes and cleanups (still doesn't work here).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1757 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -17,6 +17,13 @@ endif
|
||||
CFLAGS += -DUSE_SDLAUDIO=1 $(shell fltk-config --cxxflags)
|
||||
LDFLAGS += $(shell fltk-config --ldflags)
|
||||
|
||||
CFLAGS += -W -Wall \
|
||||
-Wwrite-strings -Wimplicit -Wreturn-type -Wformat \
|
||||
-Wswitch -Wcomment -Wchar-subscripts \
|
||||
-Wparentheses -Wcast-align -Waggregate-return \
|
||||
-Winline
|
||||
# -Wcast-qual
|
||||
|
||||
# MacOS X apps need to have a resource fork applied, else the window
|
||||
# manager will refuse to manage them (which makes the app very
|
||||
# difficult to use) This rule should be ignored by all non-Mac
|
||||
|
||||
Reference in New Issue
Block a user