diff serial/Makefile @ 41:5ee00413b8af

serial: beginning of fcsim-serial-be
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 20 Mar 2021 20:53:51 +0000
parents 8f505d413815
children 6cc3eea720cb
line wrap: on
line diff
--- a/serial/Makefile	Sat Mar 20 20:23:24 2021 +0000
+++ b/serial/Makefile	Sat Mar 20 20:53:51 2021 +0000
@@ -1,18 +1,22 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	fcsim-serial-atr
+PROGS=	fcsim-serial-atr fcsim-serial-be
 
 INSTALL_PREFIX=	/opt/freecalypso
 
 INSTBIN=${INSTALL_PREFIX}/bin
 
 ATR_OBJS=	atrmain.o baud_parse.o collect_atr.o invtable.o serport.o
+MAIN_OBJS=	baud_parse.o collect_atr.o invtable.o main.o serport.o xmit.o
 
 all:	${PROGS}
 
 fcsim-serial-atr:	${ATR_OBJS}
 	${CC} ${CFLAGS} -o $@ ${ATR_OBJS}
 
+fcsim-serial-be:	${MAIN_OBJS}
+	${CC} ${CFLAGS} -o $@ ${MAIN_OBJS}
+
 install:
 	mkdir -p ${INSTBIN}
 	install -c ${PROGS} ${INSTBIN}