annotate ee2232/Makefile @ 109:4aaf722ab933

fc-simtool: update-bin-imm command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 26 Jan 2021 01:27:58 +0000
parents 02ea5dbdf84b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
4
02ea5dbdf84b ee2232-prog: input parsing implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
3 PROGS= ee2232-gen ee2232-prog ee2232-read
1
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 INSTBIN=/opt/freecalypso/bin
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 all: ${PROGS}
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 ee2232-gen: ee2232-gen.c
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ${CC} ${CFLAGS} -o $@ $@.c
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
4
02ea5dbdf84b ee2232-prog: input parsing implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
11 ee2232-prog: ee2232-prog.c
02ea5dbdf84b ee2232-prog: input parsing implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
12 ${CC} ${CFLAGS} -o $@ $@.c -lftdi
02ea5dbdf84b ee2232-prog: input parsing implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
13
3
ef43bbfa8d16 ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
14 ee2232-read: ee2232-read.c
ef43bbfa8d16 ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
15 ${CC} ${CFLAGS} -o $@ $@.c -lftdi
ef43bbfa8d16 ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
16
1
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 install:
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 mkdir -p ${INSTBIN}
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 install -c ${PROGS} ${INSTBIN}
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 clean:
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 rm -f ${PROGS} *.o *errs *.out