diff loadtools/Makefile @ 548:2e4ab60919b9

fc-dspromdump front end program implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 28 Oct 2019 22:08:38 +0000
parents 0dd2c87c1b63
children b22cc34b6fc9
line wrap: on
line diff
--- a/loadtools/Makefile	Mon Oct 28 21:35:23 2019 +0000
+++ b/loadtools/Makefile	Mon Oct 28 22:08:38 2019 +0000
@@ -1,6 +1,6 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	fc-iram fc-loadtool fc-xram fc-compalram fc-buzplay
+PROGS=	fc-iram fc-loadtool fc-xram fc-compalram fc-buzplay fc-dspromdump
 
 INSTALL_PREFIX=	/opt/freecalypso
 
@@ -30,6 +30,10 @@
 		hexdecode.o hwparam.o labaud.o ltexit.o ltpassthru.o romload.o \
 		srecreader.o tpinterf.o ${EXTRA_OBJ}
 
+ROMDUMP_OBJS=	defpath.o flashstubs.o hexdecode.o hwparam.o labaud.o ltexit.o \
+		romdump.o romload.o srecreader.o tpinterf.o tpinterf2.o \
+		${EXTRA_OBJ}
+
 LIBSERIAL=	../libserial/libserial.a
 
 all:	${PROGS}
@@ -49,6 +53,9 @@
 fc-buzplay:	${BUZPLAY_OBJS} ${LIBSERIAL}
 	${CC} ${CFLAGS} -o $@ ${BUZPLAY_OBJS} ${LIBSERIAL}
 
+fc-dspromdump:	${ROMDUMP_OBJS} ${LIBSERIAL}
+	${CC} ${CFLAGS} -o $@ ${ROMDUMP_OBJS} ${LIBSERIAL}
+
 install:
 	mkdir -p ${INSTBIN}
 	install -c ${PROGS} ${INSTBIN}