annotate fteeprom/Makefile @ 36:899ba273c30a

eeproms/ft232r-example created
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Apr 2019 19:34:05 +0000
parents a79b0240534a
children 4d77c191c034
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
35
a79b0240534a fteeprom: ftee-gen232r program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 31
diff changeset
3 PROGS= ftee-gen2232c ftee-gen232r 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
31
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 fteeprom-prog: fteeprom-prog.c
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 ${CC} ${CFLAGS} -o $@ $@.c -lftdi
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 fteeprom-read: fteeprom-read.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 install:
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 mkdir -p ${INSTBIN}
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 install -c ${PROGS} ${INSTBIN}
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 clean:
16b625911e19 fteeprom: generalization of previous ee2232 tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 rm -f ${PROGS} *.o *errs *.out