annotate ee2232/Makefile @ 3:ef43bbfa8d16

ee2232-read program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 05 Apr 2018 21:48:05 +0000
parents 2312f270fe62
children 02ea5dbdf84b
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
3
ef43bbfa8d16 ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
3 PROGS= ee2232-gen 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
3
ef43bbfa8d16 ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
11 ee2232-read: ee2232-read.c
ef43bbfa8d16 ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
12 ${CC} ${CFLAGS} -o $@ $@.c -lftdi
ef43bbfa8d16 ee2232-read program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 1
diff changeset
13
1
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 install:
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 mkdir -p ${INSTBIN}
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 install -c ${PROGS} ${INSTBIN}
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 clean:
2312f270fe62 ee2232-gen compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 rm -f ${PROGS} *.o *errs *.out