annotate fteeprom/Makefile @ 43:ea0b5aed9a9c

ftee-gen2232c reworked to support larger EEPROMs
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Apr 2019 07:07:39 +0000
parents d150d4704ff5
children e5d89313bc00
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
40
d150d4704ff5 fteeprom: ftee-gen2232h program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
3 PROGS= ftee-gen2232c ftee-gen2232h ftee-gen232r fteeprom-erase fteeprom-prog \
d150d4704ff5 fteeprom: ftee-gen2232h program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 37
diff changeset
4 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
37
4d77c191c034 fteeprom-erase program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 35
diff changeset
18 fteeprom-erase: fteeprom-erase.c
4d77c191c034 fteeprom-erase program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 35
diff changeset
19 ${CC} ${CFLAGS} -o $@ $@.c -lftdi
4d77c191c034 fteeprom-erase program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 35
diff changeset
20
31
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 fteeprom-prog: fteeprom-prog.c
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 ${CC} ${CFLAGS} -o $@ $@.c -lftdi
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 fteeprom-read: fteeprom-read.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 install:
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 mkdir -p ${INSTBIN}
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 install -c ${PROGS} ${INSTBIN}
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 clean:
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 rm -f ${PROGS} *.o *errs *.out