FreeCalypso > hg > freecalypso-hwlab
annotate ee2232/Makefile @ 71:bac08ce19c08
DUART28C USB ID assigned
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 30 Jul 2020 04:53:27 +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 |