From: sirakaba Date: Sun, 21 Feb 2010 06:11:39 +0000 (+0000) Subject: -Wスイッチを-Wextraスイッチに変更。 X-Git-Tag: 0.01beta7~36 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=76bd16951b94db042fd22f92885ee8f4ed394b17;p=tpi%2Flychee.git -Wスイッチを-Wextraスイッチに変更。 git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/tpi/tpi@252 9df91469-1e22-0410-86e7-ea8537beb833 --- diff --git a/src/common/Makefile.default b/src/common/Makefile.default index 09f86d6..282e529 100644 --- a/src/common/Makefile.default +++ b/src/common/Makefile.default @@ -3,7 +3,7 @@ # Define compilers. CC = g++ -CPPFLAGS = -c -O3 -Wall -W `wx-config --cppflags` +CPPFLAGS = -c -O3 -Wall -Wextra `wx-config --cppflags` LDFLAGS = -s `wx-config --libs` .PHONY: all clean diff --git a/src/plugin/Makefile.default b/src/plugin/Makefile.default index 0ef6ec8..a7053d0 100644 --- a/src/plugin/Makefile.default +++ b/src/plugin/Makefile.default @@ -3,7 +3,7 @@ # Define compilers. CC = g++ -CPPFLAGS = -c -O3 -Wall -W -fPIC `wx-config --cppflags` $(CPPFLAGS_ADD) +CPPFLAGS = -c -O3 -Wall -Wextra -fPIC `wx-config --cppflags` $(CPPFLAGS_ADD) LDFLAGS = -s -shared -Wl,-Bsymbolic `wx-config --libs` # Define i/o files. @@ -25,7 +25,6 @@ all: $(DIR_OBJ) $(addprefix $(DIR_OBJ)/,$(OBJS) $(OBJS_ADD)) clean: rm -f -r $(addprefix $(DIR_OBJ)/,$(OBJS) $(OBJS_ADD)) $(OUT_LIB) - rmdir $(DIR_OBJ) $(DIR_OBJ): mkdir $(DIR_OBJ)