diff ee2232/Makefile @ 3:ef43bbfa8d16

ee2232-read program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 05 Apr 2018 21:48:05 +0000
parents 2312f270fe62
children 02ea5dbdf84b
line wrap: on
line diff
--- a/ee2232/Makefile	Thu Apr 05 10:20:43 2018 +0000
+++ b/ee2232/Makefile	Thu Apr 05 21:48:05 2018 +0000
@@ -1,6 +1,6 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	ee2232-gen
+PROGS=	ee2232-gen ee2232-read
 INSTBIN=/opt/freecalypso/bin
 
 all:	${PROGS}
@@ -8,6 +8,9 @@
 ee2232-gen:	ee2232-gen.c
 	${CC} ${CFLAGS} -o $@ $@.c
 
+ee2232-read:	ee2232-read.c
+	${CC} ${CFLAGS} -o $@ $@.c -lftdi
+
 install:
 	mkdir -p ${INSTBIN}
 	install -c ${PROGS} ${INSTBIN}