X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2FMakefile;h=529fa3793eb8f3c41c27670854e1a3b2a6d0edfe;hb=8b6232a675c7b49bd9651805fc92917cc7a92198;hp=376970bc86b3bd1877e438ad8fcc35c906561acd;hpb=c872443f88bd037784f795767041db9e307ac3f0;p=gpsp.git diff --git a/gp2x/Makefile b/gp2x/Makefile index 376970b..529fa37 100644 --- a/gp2x/Makefile +++ b/gp2x/Makefile @@ -4,7 +4,7 @@ # Global definitions -PREFIX = /opt/open2x/gcc-4.1.1-glibc-2.3.6 +PREFIX ?= /opt/open2x/gcc-4.1.1-glibc-2.3.6 CC = $(PREFIX)/bin/arm-open2x-linux-gcc STRIP = $(PREFIX)/bin/arm-open2x-linux-strip @@ -12,14 +12,17 @@ OBJS = main.o cpu.o memory.u video.o input.o sound.o gp2x.o gui.o \ cheats.o zip.o cpu_threaded.z arm_stub.o video_blend.o \ warm.o upscale_aspect.o ifeq ($(WIZ),1) +OBJS += pollux_dpc_set.o BIN = gpsp_wiz else BIN = gpsp_gp2x endif +-include Makefile.local + # Platform specific definitions -VPATH += .. +VPATH += .. ../arm CFLAGS += -DARM_ARCH -DGP2X_BUILD ifeq ($(WIZ),1) CFLAGS += -DWIZ_BUILD