X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile;h=2c2767ac37b92e8e6168976f1646510dec0960ed;hp=f6d3470e398e22fb6bc6da6c774c3d9f9f3a7ac9;hb=25c32cec80d7093da4324cae4459b0f36d50fa8d;hpb=6d866bb7894b252fc430a24a97769511d5ead1ca diff --git a/Makefile b/Makefile index f6d3470e..2c2767ac 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,8 @@ LDFLAGS += -lasound endif # gpu -plugins/dfxvideo/%.o: CFLAGS += -Wall +# note: code is not safe for strict-aliasing? (Castlevania problems) +plugins/dfxvideo/%.o: CFLAGS += -Wall -fno-strict-aliasing OBJS += plugins/dfxvideo/gpu.o plugins/dfxvideo/gpu.o: plugins/dfxvideo/fps.c plugins/dfxvideo/prim.c \ plugins/dfxvideo/gpu.c plugins/dfxvideo/soft.c @@ -86,7 +87,7 @@ plugins/dfinput/%.o: CFLAGS += -Wall OBJS += plugins/dfinput/pad.o # gui -OBJS += frontend/main.o frontend/plugin.o +OBJS += frontend/main.o frontend/plugin.o ifeq "$(USE_GTK)" "1" OBJS += maemo/hildon.o maemo/main.o maemo/%.o: maemo/%.c @@ -147,7 +148,7 @@ VER ?= $(shell git describe master) rel: pcsx $(PLUGINS) \ pandora/pcsx.sh pandora/pcsx.pxml pandora/pcsx.png \ - pandora/picorestore pandora/readme.txt skin COPYING + pandora/picorestore pandora/readme.txt pandora/skin COPYING rm -rf out mkdir -p out/plugins cp -r $^ out/