diff loadtools/Makefile @ 575:cef70d53fc5e

loadtools: new -P boot control mechanism implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 02 Feb 2020 20:01:22 +0000
parents b22cc34b6fc9
children 5385aca4d813
line wrap: on
line diff
--- a/loadtools/Makefile	Sun Feb 02 19:37:50 2020 +0000
+++ b/loadtools/Makefile	Sun Feb 02 20:01:22 2020 +0000
@@ -33,6 +33,7 @@
 		labaud.o ltexit.o romdump.o romload.o srecreader.o tpinterf.o \
 		tpinterf2.o
 
+LIBPWON=	../libpwon/libpwon.a
 LIBSERIAL=	../libserial/libserial.a
 
 all:	${PROGS}
@@ -40,20 +41,20 @@
 fc-compalram:	${COMPALRAM_OBJS} ${LIBSERIAL}
 	${CC} ${CFLAGS} -o $@ ${COMPALRAM_OBJS} ${LIBSERIAL}
 
-fc-iram:	${IRAM_OBJS} ${LIBSERIAL}
-	${CC} ${CFLAGS} -o $@ ${IRAM_OBJS} ${LIBSERIAL}
+fc-iram:	${IRAM_OBJS} ${LIBPWON} ${LIBSERIAL}
+	${CC} ${CFLAGS} -o $@ ${IRAM_OBJS} ${LIBPWON} ${LIBSERIAL}
 
-fc-loadtool:	${LOADTOOL_OBJS} ${LIBSERIAL}
-	${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS} ${LIBSERIAL}
+fc-loadtool:	${LOADTOOL_OBJS} ${LIBPWON} ${LIBSERIAL}
+	${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS} ${LIBPWON} ${LIBSERIAL}
 
-fc-xram:	${XRAM_OBJS} ${LIBSERIAL}
-	${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} ${LIBSERIAL}
+fc-xram:	${XRAM_OBJS} ${LIBPWON} ${LIBSERIAL}
+	${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} ${LIBPWON} ${LIBSERIAL}
 
-fc-buzplay:	${BUZPLAY_OBJS} ${LIBSERIAL}
-	${CC} ${CFLAGS} -o $@ ${BUZPLAY_OBJS} ${LIBSERIAL}
+fc-buzplay:	${BUZPLAY_OBJS} ${LIBPWON} ${LIBSERIAL}
+	${CC} ${CFLAGS} -o $@ ${BUZPLAY_OBJS} ${LIBPWON} ${LIBSERIAL}
 
-fc-dspromdump:	${ROMDUMP_OBJS} ${LIBSERIAL}
-	${CC} ${CFLAGS} -o $@ ${ROMDUMP_OBJS} ${LIBSERIAL}
+fc-dspromdump:	${ROMDUMP_OBJS} ${LIBPWON} ${LIBSERIAL}
+	${CC} ${CFLAGS} -o $@ ${ROMDUMP_OBJS} ${LIBPWON} ${LIBSERIAL}
 
 install:
 	mkdir -p ${INSTBIN}