FreeCalypso > hg > freecalypso-hwlab
annotate ee2232/Makefile @ 171:88b8257d353b
eeproms: rm all configs that went to fc-usbser-tools
These configs need to be actively maintained, hence having more than one
official home location for them is a bad idea.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 11 Sep 2023 05:21:56 +0000 |
parents | 02ea5dbdf84b |
children |
rev | line source |
---|---|
1 | 1 CC= gcc |
2 CFLAGS= -O2 | |
4
02ea5dbdf84b
ee2232-prog: input parsing implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
3 PROGS= ee2232-gen ee2232-prog ee2232-read |
1 | 4 INSTBIN=/opt/freecalypso/bin |
5 | |
6 all: ${PROGS} | |
7 | |
8 ee2232-gen: ee2232-gen.c | |
9 ${CC} ${CFLAGS} -o $@ $@.c | |
10 | |
4
02ea5dbdf84b
ee2232-prog: input parsing implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
11 ee2232-prog: ee2232-prog.c |
02ea5dbdf84b
ee2232-prog: input parsing implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
12 ${CC} ${CFLAGS} -o $@ $@.c -lftdi |
02ea5dbdf84b
ee2232-prog: input parsing implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
13 |
3
ef43bbfa8d16
ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
14 ee2232-read: ee2232-read.c |
ef43bbfa8d16
ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
15 ${CC} ${CFLAGS} -o $@ $@.c -lftdi |
ef43bbfa8d16
ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
16 |
1 | 17 install: |
18 mkdir -p ${INSTBIN} | |
19 install -c ${PROGS} ${INSTBIN} | |
20 | |
21 clean: | |
22 rm -f ${PROGS} *.o *errs *.out |