annotate fteeprom/Makefile @ 21:af801ab43a33

fteeprom-erase: convert to new local libs
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 08 Sep 2023 23:47:50 +0000
parents 43b8e88dae02
children ca2250b4833d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROGS= ftee-gen2232c ftee-gen2232h ftee-gen232r ftee-mkblank fteeprom-erase \
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 fteeprom-prog fteeprom-read
16
1d76deae1e74 fteeprom-read: convert to new local libs
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
5 LIBS= ../libftmini/libftmini.a ../libuwrap/libuwrap.a
4
2e84619e7422 fteeprom/Makefile: implement INSTALL_PREFIX
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
6
2e84619e7422 fteeprom/Makefile: implement INSTALL_PREFIX
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
7 INSTALL_PREFIX= /opt/freecalypso
2e84619e7422 fteeprom/Makefile: implement INSTALL_PREFIX
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
8
2e84619e7422 fteeprom/Makefile: implement INSTALL_PREFIX
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
9 INSTBIN=${INSTALL_PREFIX}/bin
0
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 all: ${PROGS}
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
7
b2c891299e83 ftee-gen*: look for EEPROM config file in /opt/freecalypso/ftdi
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
13 ftee-gen2232c: ftee-gen2232c.o filesearch.o
b2c891299e83 ftee-gen*: look for EEPROM config file in /opt/freecalypso/ftdi
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
14 ${CC} ${CFLAGS} -o $@ $@.o filesearch.o
0
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
7
b2c891299e83 ftee-gen*: look for EEPROM config file in /opt/freecalypso/ftdi
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
16 ftee-gen2232h: ftee-gen2232h.o filesearch.o
b2c891299e83 ftee-gen*: look for EEPROM config file in /opt/freecalypso/ftdi
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
17 ${CC} ${CFLAGS} -o $@ $@.o filesearch.o
0
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
7
b2c891299e83 ftee-gen*: look for EEPROM config file in /opt/freecalypso/ftdi
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
19 ftee-gen232r: ftee-gen232r.o filesearch.o
b2c891299e83 ftee-gen*: look for EEPROM config file in /opt/freecalypso/ftdi
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
20 ${CC} ${CFLAGS} -o $@ $@.o filesearch.o
0
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 ftee-mkblank: ftee-mkblank.c
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 ${CC} ${CFLAGS} -o $@ $@.c
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
21
af801ab43a33 fteeprom-erase: convert to new local libs
Mychaela Falconia <falcon@freecalypso.org>
parents: 20
diff changeset
25 fteeprom-erase: fteeprom-erase.o ${LIBS}
af801ab43a33 fteeprom-erase: convert to new local libs
Mychaela Falconia <falcon@freecalypso.org>
parents: 20
diff changeset
26 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lusb
0
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27
20
43b8e88dae02 fteeprom-prog: convert to new local libs
Mychaela Falconia <falcon@freecalypso.org>
parents: 16
diff changeset
28 fteeprom-prog: fteeprom-prog.o ${LIBS}
43b8e88dae02 fteeprom-prog: convert to new local libs
Mychaela Falconia <falcon@freecalypso.org>
parents: 16
diff changeset
29 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lusb
0
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30
16
1d76deae1e74 fteeprom-read: convert to new local libs
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
31 fteeprom-read: fteeprom-read.o ${LIBS}
1d76deae1e74 fteeprom-read: convert to new local libs
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
32 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lusb
0
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 install:
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 mkdir -p ${INSTBIN}
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 install -c ${PROGS} ${INSTBIN}
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 clean:
11b8a30333b3 fteeprom: initial import from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 rm -f ${PROGS} *.o *errs *.out