2 # Gilead Kutnick - Exophase
7 CC = $(CROSS_COMPILE)gcc
9 OBJS = pnd.o main.o cpu.o memory.o video.o input.o sound.o gui.o \
10 cheats.o zip.o cpu_threaded.o arm_stub.o video_blend.o warm.o \
11 linux/fbdev.o linux/xenv.o
14 # Platform specific definitions
17 CFLAGS += -DARM_ARCH -DPND_BUILD -Wall
18 CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -ffast-math
23 # expecting to have PATH set up to get correct sdl-config first
24 CFLAGS += `sdl-config --cflags`
25 LIBS += `sdl-config --libs`
26 LIBS += -ldl -lpthread -lz
33 $(CC) $(CFLAGS) -c -o $@ $<
35 cpu.o cpu_threaded.o: CFLAGS += -Wno-unused-variable -Wno-unused-label
38 $(CC) $(OBJS) $(LIBS) -o $(BIN)