X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=9b364dd9cd2ed9657333bff693488f058fc25894;hb=6c991e7ced6e893064dafbe7bd64b98c978f6195;hp=c7fbe9ed68c2ce3858b56e93735fafdb1050448c;hpb=a33a365d783c8a6a360de8668eeb86a26086c551;p=picodrive.git diff --git a/Makefile b/Makefile index c7fbe9e..9b364dd 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,11 @@ TARGET ?= PicoDrive CFLAGS += -Wall CFLAGS += -I. -DINLINE=inline ifndef DEBUG +ifeq ($(platform), vita) +CFLAGS += -O3 -DNDEBUG +else CFLAGS += -O2 -DNDEBUG -ffunction-sections +endif ifneq ($(APPLE),1) LDFLAGS += -Wl,--gc-sections endif