aboutsummaryrefslogtreecommitdiff
path: root/emulators/zsnes/files/patch-src::makefile.linux
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/zsnes/files/patch-src::makefile.linux')
-rw-r--r--emulators/zsnes/files/patch-src::makefile.linux15
1 files changed, 10 insertions, 5 deletions
diff --git a/emulators/zsnes/files/patch-src::makefile.linux b/emulators/zsnes/files/patch-src::makefile.linux
index d2b9468b6aa7..cffe63dd6484 100644
--- a/emulators/zsnes/files/patch-src::makefile.linux
+++ b/emulators/zsnes/files/patch-src::makefile.linux
@@ -1,5 +1,5 @@
---- src/makefile.linux.orig Tue May 1 21:33:15 2001
-+++ src/makefile.linux Fri May 4 13:21:00 2001
+--- src/makefile.linux.orig Wed May 16 22:38:21 2001
++++ src/makefile.linux Mon May 21 17:02:43 2001
@@ -23,7 +23,7 @@
WINDIR=linux
OBJDIR=obj
@@ -9,7 +9,7 @@
CHIPSOBJ=${CHIPDIR}/sfxproc.o ${CHIPDIR}/fxemu2.o ${CHIPDIR}/dsp1proc.o\
${CHIPDIR}/fxemu2b.o ${CHIPDIR}/fxemu2c.o ${CHIPDIR}/fxtable.o\
-@@ -58,8 +58,8 @@
+@@ -58,12 +58,12 @@
MAINOBJ=cfgload.o endmem.o fixsin.o init.o ui.o vcache.o water.o
OBJS=${CHIPSOBJ} ${CPUOBJ} ${WINOBJ} ${WINDOSOBJ} ${GUIOBJ} ${VIDEOBJ} ${ZIPOBJ} ${MAINOBJ}
@@ -17,6 +17,11 @@
-SDLCFLAGS := $(shell sdl-config --cflags)
+SDLLIBS := $(shell $(SDL_CONFIG) --libs)
+SDLCFLAGS := $(shell $(SDL_CONFIG) --cflags)
- LIBS=${SDLLIBS} -lz
- CFLAGS=-g -Wall -D__LINUX__ ${SDLCFLAGS}
+ #LIBS=-static -pg ${SDLLIBS} -lz
+ LIBS=${SDLLIBS} -lz -lpng
+ #CFLAGS=-pg -g -Wall -D__LINUX__ ${SDLCFLAGS}
+-CFLAGS=-g -Wall -O2 -mcpu=pentium -finline-functions -funroll-loops -D__LINUX__ ${SDLCFLAGS}
++CFLAGS:=-g -Wall -O2 -finline-functions -funroll-loops -D__LINUX__ ${CFLAGS} ${SDLCFLAGS}
ASM=nasm
+ ASMFLAGS=-f elf -D__LINUX__ -g -w-orphan-labels
+ CC=gcc