FreeCalypso > hg > freecalypso-hwlab
annotate ee2232/Makefile @ 3:ef43bbfa8d16
ee2232-read program written, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 05 Apr 2018 21:48:05 +0000 |
parents | 2312f270fe62 |
children | 02ea5dbdf84b |
rev | line source |
---|---|
1 | 1 CC= gcc |
2 CFLAGS= -O2 | |
3
ef43bbfa8d16
ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
3 PROGS= ee2232-gen 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 | |
3
ef43bbfa8d16
ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
11 ee2232-read: ee2232-read.c |
ef43bbfa8d16
ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
12 ${CC} ${CFLAGS} -o $@ $@.c -lftdi |
ef43bbfa8d16
ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
13 |
1 | 14 install: |
15 mkdir -p ${INSTBIN} | |
16 install -c ${PROGS} ${INSTBIN} | |
17 | |
18 clean: | |
19 rm -f ${PROGS} *.o *errs *.out |