FreeCalypso > hg > freecalypso-hwlab
annotate fteeprom/Makefile @ 37:4d77c191c034
fteeprom-erase program written, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 21 Apr 2019 19:39:50 +0000 |
parents | a79b0240534a |
children | d150d4704ff5 |
rev | line source |
---|---|
31
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
37
4d77c191c034
fteeprom-erase program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
3 PROGS= ftee-gen2232c ftee-gen232r fteeprom-erase fteeprom-prog fteeprom-read |
31
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 INSTBIN=/opt/freecalypso/bin |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${PROGS} |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ftee-gen2232c: ftee-gen2232c.c |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ${CC} ${CFLAGS} -o $@ $@.c |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
35
a79b0240534a
fteeprom: ftee-gen232r program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
31
diff
changeset
|
11 ftee-gen232r: ftee-gen232r.c |
a79b0240534a
fteeprom: ftee-gen232r program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
31
diff
changeset
|
12 ${CC} ${CFLAGS} -o $@ $@.c |
a79b0240534a
fteeprom: ftee-gen232r program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
31
diff
changeset
|
13 |
37
4d77c191c034
fteeprom-erase program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
14 fteeprom-erase: fteeprom-erase.c |
4d77c191c034
fteeprom-erase program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
15 ${CC} ${CFLAGS} -o $@ $@.c -lftdi |
4d77c191c034
fteeprom-erase program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
16 |
31
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 fteeprom-prog: fteeprom-prog.c |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 ${CC} ${CFLAGS} -o $@ $@.c -lftdi |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 fteeprom-read: fteeprom-read.c |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 ${CC} ${CFLAGS} -o $@ $@.c -lftdi |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 install: |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 mkdir -p ${INSTBIN} |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 install -c ${PROGS} ${INSTBIN} |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 clean: |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 rm -f ${PROGS} *.o *errs *.out |