basic psp snd + cz80
[picodrive.git] / platform / psp / Makefile
index db032d8..6aaf51b 100644 (file)
@@ -4,7 +4,7 @@ PSPSDK = $(shell psp-config --pspsdk-path)
 \r
 # settings\r
 #use_musashi = 1\r
-use_mz80 = 1\r
+#use_mz80 = 1\r
 amalgamate = 0\r
 #profile = 1\r
 #up = 1\r
@@ -69,13 +69,14 @@ ifeq "$(use_mz80)" "1"
 CFLAGS += -D_USE_MZ80\r
 OBJS += ../../cpu/mz80/mz80.o\r
 else\r
-$(error nothing here!)\r
+CFLAGS += -D_USE_CZ80\r
+OBJS += ../../cpu/cz80/cz80.o\r
 endif\r
 # bg images\r
 OBJS += data/bg32.o data/bg40.o\r
 \r
 \r
-LIBS += -lpng -lm -lpspgu -lpsppower -Wl,-Map=PicoDrive.map # -lpspaudio -lpsphprm\r
+LIBS += -lpng -lm -lpspgu -lpsppower -Wl,-Map=PicoDrive.map -lpspaudio\r
 \r
 # target\r
 TARGET = PicoDrive\r