FreeCalypso > hg > freecalypso-tools
annotate ffstools/caltools/Makefile @ 292:0af5009bd52f
fc-cal2bin written, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 18 Nov 2017 07:38:36 +0000 |
parents | |
children | 1416fe200069 |
rev | line source |
---|---|
292
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROGS= fc-cal2bin |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 INSTBIN=/opt/freecalypso/bin |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${PROGS} |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 LIBRFTAB= ../../librftab/librftab.a |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 fc-cal2bin: fc-cal2bin.o ${LIBRFTAB} |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ${CC} ${CFLAGS} -o $@ fc-cal2bin.o ${LIBRFTAB} |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 install: |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 mkdir -p ${INSTBIN} |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 install -c ${PROGS} ${INSTBIN} |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 clean: |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 rm -f ${PROGS} *.o *errs *.out |