X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=600a1d3aa62ce73b7652b1e3e6b0a9a970987b93;hb=2f73c14c11377887630c696cefd035a21e976e09;hp=627ccf4f0608bbfa21b6acffdd2109e4306f01de;hpb=201e4c416a48f547fbfd2f0c3e5ad5cbbc4cc10d;p=pcsx_rearmed.git diff --git a/Makefile b/Makefile index 627ccf4f..600a1d3a 100644 --- a/Makefile +++ b/Makefile @@ -4,10 +4,14 @@ TARGET ?= pcsx CFLAGS += -Wall -Iinclude -ffast-math ifeq ($(DEBUG), 1) -CFLAGS += -O0 -ggdb -DOPENGL_DEBUG +CFLAGS += -O0 -ggdb +else +ifeq ($(platform), vita) +CFLAGS += -O3 -DNDEBUG else CFLAGS += -O2 -DNDEBUG endif +endif CXXFLAGS += $(CFLAGS) #DRC_DBG = 1 #PCNT = 1 @@ -67,7 +71,6 @@ endif OBJS += libpcsxcore/new_dynarec/emu_if.o libpcsxcore/new_dynarec/new_dynarec.o: libpcsxcore/new_dynarec/assem_arm.c \ libpcsxcore/new_dynarec/pcsxmem_inline.c -libpcsxcore/new_dynarec/new_dynarec.o: CFLAGS += -Wno-all -Wno-pointer-sign ifdef DRC_DBG libpcsxcore/new_dynarec/emu_if.o: CFLAGS += -D_FILE_OFFSET_BITS=64 CFLAGS += -DDRC_DBG