FreeCalypso > hg > freecalypso-hwlab
comparison fteeprom/Makefile @ 31:16b625911e19
fteeprom: generalization of previous ee2232 tools
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 21 Apr 2019 04:14:00 +0000 |
parents | |
children | a79b0240534a |
comparison
equal
deleted
inserted
replaced
30:56780c191b58 | 31:16b625911e19 |
---|---|
1 CC= gcc | |
2 CFLAGS= -O2 | |
3 PROGS= ftee-gen2232c fteeprom-prog fteeprom-read | |
4 INSTBIN=/opt/freecalypso/bin | |
5 | |
6 all: ${PROGS} | |
7 | |
8 ftee-gen2232c: ftee-gen2232c.c | |
9 ${CC} ${CFLAGS} -o $@ $@.c | |
10 | |
11 fteeprom-prog: fteeprom-prog.c | |
12 ${CC} ${CFLAGS} -o $@ $@.c -lftdi | |
13 | |
14 fteeprom-read: fteeprom-read.c | |
15 ${CC} ${CFLAGS} -o $@ $@.c -lftdi | |
16 | |
17 install: | |
18 mkdir -p ${INSTBIN} | |
19 install -c ${PROGS} ${INSTBIN} | |
20 | |
21 clean: | |
22 rm -f ${PROGS} *.o *errs *.out |