FreeCalypso > hg > freecalypso-hwlab
comparison 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 |
comparison
equal
deleted
inserted
replaced
2:252e3d37b9e5 | 3:ef43bbfa8d16 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= ee2232-gen | 3 PROGS= ee2232-gen ee2232-read |
4 INSTBIN=/opt/freecalypso/bin | 4 INSTBIN=/opt/freecalypso/bin |
5 | 5 |
6 all: ${PROGS} | 6 all: ${PROGS} |
7 | 7 |
8 ee2232-gen: ee2232-gen.c | 8 ee2232-gen: ee2232-gen.c |
9 ${CC} ${CFLAGS} -o $@ $@.c | 9 ${CC} ${CFLAGS} -o $@ $@.c |
10 | 10 |
11 ee2232-read: ee2232-read.c | |
12 ${CC} ${CFLAGS} -o $@ $@.c -lftdi | |
13 | |
11 install: | 14 install: |
12 mkdir -p ${INSTBIN} | 15 mkdir -p ${INSTBIN} |
13 install -c ${PROGS} ${INSTBIN} | 16 install -c ${PROGS} ${INSTBIN} |
14 | 17 |
15 clean: | 18 clean: |