|
Lines 11-17
Link Here
|
| 11 |
RM = rm -f |
11 |
RM = rm -f |
| 12 |
#LD = ld -shared |
12 |
#LD = ld -shared |
| 13 |
LIBS = -lz -shared $(shell gtk-config --libs) |
13 |
LIBS = -lz -shared $(shell gtk-config --libs) |
| 14 |
OPTIMIZE = -O2 -finline-functions -ffast-math |
|
|
| 15 |
FLAGS = -DPSS_STYLE=1 |
14 |
FLAGS = -DPSS_STYLE=1 |
| 16 |
|
15 |
|
| 17 |
OBJS = ../PsxBios.o ../PsxCounters.o ../PsxDma.o \ |
16 |
OBJS = ../PsxBios.o ../PsxCounters.o ../PsxDma.o \ |
|
Lines 22-28
Link Here
|
| 22 |
OBJS+= xmms.o |
21 |
OBJS+= xmms.o |
| 23 |
|
22 |
|
| 24 |
ifeq (${CPU}, ix86) |
23 |
ifeq (${CPU}, ix86) |
| 25 |
OPTIMIZE += -fomit-frame-pointer -mcpu=i686 -fno-exceptions |
24 |
# OPTIMIZE += -fomit-frame-pointer -mcpu=i686 -fno-exceptions |
| 26 |
endif |
25 |
endif |
| 27 |
|
26 |
|
| 28 |
ifeq (${CPU}, ppc) |
27 |
ifeq (${CPU}, ppc) |
|
Lines 33-39
Link Here
|
| 33 |
FLAGS+=-DMSB_FIRST |
32 |
FLAGS+=-DMSB_FIRST |
| 34 |
endif |
33 |
endif |
| 35 |
|
34 |
|
| 36 |
CFLAGS = -Wall ${OPTIMIZE} -I. -I.. -I/usr/include/g++ ${FLAGS} |
35 |
CFLAGS+= -Wall -I. -I.. -I/usr/include/g++ ${FLAGS} |
| 37 |
CFLAGS+= $(shell gtk-config --cflags) |
36 |
CFLAGS+= $(shell gtk-config --cflags) |
| 38 |
|
37 |
|
| 39 |
#ifdef LD |
38 |
#ifdef LD |