diff loadtools/Makefile @ 790:0bbe0213812d

fc-simint put together, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 Mar 2021 04:40:05 +0000
parents a167d7b376b7
children 502aec4c1e8e
line wrap: on
line diff
--- a/loadtools/Makefile	Sun Mar 14 23:55:32 2021 +0000
+++ b/loadtools/Makefile	Fri Mar 19 04:40:05 2021 +0000
@@ -1,6 +1,7 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	fc-iram fc-loadtool fc-xram fc-compalram fc-buzplay fc-dspromdump
+PROGS=	fc-iram fc-loadtool fc-xram fc-compalram fc-buzplay fc-dspromdump \
+	fc-simint
 
 INSTALL_PREFIX=	/opt/freecalypso
 
@@ -34,6 +35,10 @@
 		labaud.o ltexit.o romdump.o romload.o srecreader.o tpinterf.o \
 		tpinterf2.o
 
+SIMINT_OBJS=	compalload.o defexitstub.o defpath.o flashstubs.o hexdecode.o \
+		hwparam.o labaud.o romload.o simatr.o simmain.o simup.o \
+		srecreader.o tpinterf.o tpinterf2.o
+
 LIBPWON=	../libpwon/libpwon.a
 LIBSERIAL=	../libserial/libserial.a
 
@@ -57,6 +62,9 @@
 fc-dspromdump:	${ROMDUMP_OBJS} ${LIBPWON} ${LIBSERIAL}
 	${CC} ${CFLAGS} -o $@ ${ROMDUMP_OBJS} ${LIBPWON} ${LIBSERIAL}
 
+fc-simint:	${SIMINT_OBJS} ${LIBPWON} ${LIBSERIAL}
+	${CC} ${CFLAGS} -o $@ ${SIMINT_OBJS} ${LIBPWON} ${LIBSERIAL}
+
 install:
 	mkdir -p ${INSTBIN}
 	install -c ${PROGS} ${INSTBIN}