Minor cleanups.

This commit is contained in:
Themaister 2011-12-04 17:19:21 +01:00
parent e7324989fc
commit 0ed668d1b5

View File

@ -1,6 +1,6 @@
###
##
# Makefile for SSNES. Somewhat generic and avoids using the odd SDK examples.
# Makefile for SSNES PS3. Somewhat generic and avoids using the odd SDK examples.
##
###
##
@ -49,8 +49,6 @@ LIBS = -ldbgfont -lPSGL -lPSGLcgc -lcgc -lgcm_cmd -lgcm_sys_stub -lsnes -lresc_s
DEFINES = -DHAVE_OPENGL=1 -DHAVE_CG=1 -DHAVE_FBO=1 -D__CELLOS_LV2__ -DHAVE_CONFIGFILE=1 -DPACKAGE_VERSION=\"0.9.2\" -Dmain=ssnes_main
# Wrap it up, son!
#LIBS += -Wl,-wrap,fopen -Wl,-wrap,fclose -Wl,-wrap,fwrite -Wl,-wrap,fread -Wl,-wrap,fseek -Wl,-wrap,ftell -Wl,-wrap,fflush -Wl,-wrap,rewind -Wl,-wrap,fgetpos -Wl,-wrap,fsetpos -Wl,-wrap,setbuf -Wl,-wrap,setvbuf -Wl,-wrap,ungetc -Wl,-wrap,feof
ifeq ($(DEBUG), 1)
PPU_OPTIMIZE_LV := -O0 -g
else
@ -60,19 +58,6 @@ endif
## Use this for new SDK!
CFLAGS = $(PPU_OPTIMIZE_LV) $(DEFINES)
CXXFLAGS = $(PPU_OPTIMIZE_LV) $(DEFINES)
#CFLAGS = -Wall $(PPU_OPTIMIZE_LV) -std=gnu99 -DPS3_SDK_3_41 -DSSNES_DEBUG
#CFLAGS += -fprofile-generate --coverage -g
#CXXFLAGS += -fprofile-generate --coverage -g
#LDFLAGS += -fprofile-generate --coverage -g
#CFLAGS += -pg -g
#CXXFLAGS += -pg -g
#LDFLAGS += -pg -g -lprof_stub
#CFLAGS += -fprofile-use
#CXXFLAGS += -fprofile-use
#LDFLAGS += -fprofile-use
#CFLAGS = -Wall $(PPU_OPTIMIZE_LV) -std=gnu99
all: pkg
@ -97,4 +82,3 @@ clean:
.PHONY: all clean pkg