comparison 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
comparison
equal deleted inserted replaced
36:899ba273c30a 37:4d77c191c034
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= ftee-gen2232c ftee-gen232r fteeprom-prog fteeprom-read 3 PROGS= ftee-gen2232c ftee-gen232r fteeprom-erase fteeprom-prog fteeprom-read
4 INSTBIN=/opt/freecalypso/bin 4 INSTBIN=/opt/freecalypso/bin
5 5
6 all: ${PROGS} 6 all: ${PROGS}
7 7
8 ftee-gen2232c: ftee-gen2232c.c 8 ftee-gen2232c: ftee-gen2232c.c
9 ${CC} ${CFLAGS} -o $@ $@.c 9 ${CC} ${CFLAGS} -o $@ $@.c
10 10
11 ftee-gen232r: ftee-gen232r.c 11 ftee-gen232r: ftee-gen232r.c
12 ${CC} ${CFLAGS} -o $@ $@.c 12 ${CC} ${CFLAGS} -o $@ $@.c
13
14 fteeprom-erase: fteeprom-erase.c
15 ${CC} ${CFLAGS} -o $@ $@.c -lftdi
13 16
14 fteeprom-prog: fteeprom-prog.c 17 fteeprom-prog: fteeprom-prog.c
15 ${CC} ${CFLAGS} -o $@ $@.c -lftdi 18 ${CC} ${CFLAGS} -o $@ $@.c -lftdi
16 19
17 fteeprom-read: fteeprom-read.c 20 fteeprom-read: fteeprom-read.c