diff fteeprom/Makefile @ 37:4d77c191c034

fteeprom-erase program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Apr 2019 19:39:50 +0000
parents a79b0240534a
children d150d4704ff5
line wrap: on
line diff
--- a/fteeprom/Makefile	Sun Apr 21 19:34:05 2019 +0000
+++ b/fteeprom/Makefile	Sun Apr 21 19:39:50 2019 +0000
@@ -1,6 +1,6 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	ftee-gen2232c ftee-gen232r fteeprom-prog fteeprom-read
+PROGS=	ftee-gen2232c ftee-gen232r fteeprom-erase fteeprom-prog fteeprom-read
 INSTBIN=/opt/freecalypso/bin
 
 all:	${PROGS}
@@ -11,6 +11,9 @@
 ftee-gen232r:	ftee-gen232r.c
 	${CC} ${CFLAGS} -o $@ $@.c
 
+fteeprom-erase:	fteeprom-erase.c
+	${CC} ${CFLAGS} -o $@ $@.c -lftdi
+
 fteeprom-prog:	fteeprom-prog.c
 	${CC} ${CFLAGS} -o $@ $@.c -lftdi