FreeCalypso > hg > freecalypso-hwlab
annotate fteeprom/Makefile @ 115:0dcd666292e4
fc-simtool: pb-erase-one command implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 28 Jan 2021 02:56:10 +0000 |
parents | e5d89313bc00 |
children |
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 |
46
e5d89313bc00
ftee-mkblank written to replace fteeprom-prog -e
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
3 PROGS= ftee-gen2232c ftee-gen2232h ftee-gen232r ftee-mkblank fteeprom-erase \ |
e5d89313bc00
ftee-mkblank written to replace fteeprom-prog -e
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
4 fteeprom-prog fteeprom-read |
31
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 INSTBIN=/opt/freecalypso/bin |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 all: ${PROGS} |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ftee-gen2232c: ftee-gen2232c.c |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ${CC} ${CFLAGS} -o $@ $@.c |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
40
d150d4704ff5
fteeprom: ftee-gen2232h program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
12 ftee-gen2232h: ftee-gen2232h.c |
d150d4704ff5
fteeprom: ftee-gen2232h program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
13 ${CC} ${CFLAGS} -o $@ $@.c |
d150d4704ff5
fteeprom: ftee-gen2232h program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
14 |
35
a79b0240534a
fteeprom: ftee-gen232r program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
31
diff
changeset
|
15 ftee-gen232r: ftee-gen232r.c |
a79b0240534a
fteeprom: ftee-gen232r program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
31
diff
changeset
|
16 ${CC} ${CFLAGS} -o $@ $@.c |
a79b0240534a
fteeprom: ftee-gen232r program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
31
diff
changeset
|
17 |
46
e5d89313bc00
ftee-mkblank written to replace fteeprom-prog -e
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
18 ftee-mkblank: ftee-mkblank.c |
e5d89313bc00
ftee-mkblank written to replace fteeprom-prog -e
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
19 ${CC} ${CFLAGS} -o $@ $@.c |
e5d89313bc00
ftee-mkblank written to replace fteeprom-prog -e
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
20 |
37
4d77c191c034
fteeprom-erase program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
21 fteeprom-erase: fteeprom-erase.c |
4d77c191c034
fteeprom-erase program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
22 ${CC} ${CFLAGS} -o $@ $@.c -lftdi |
4d77c191c034
fteeprom-erase program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
23 |
31
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 fteeprom-prog: fteeprom-prog.c |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 ${CC} ${CFLAGS} -o $@ $@.c -lftdi |
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 fteeprom-read: fteeprom-read.c |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 ${CC} ${CFLAGS} -o $@ $@.c -lftdi |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 install: |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 mkdir -p ${INSTBIN} |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 install -c ${PROGS} ${INSTBIN} |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 clean: |
16b625911e19
fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 rm -f ${PROGS} *.o *errs *.out |