annotate ee2232/Makefile @ 1:2312f270fe62

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