annotate ffstools/caltools/Makefile @ 294:1416fe200069

c1xx-calextr started
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Nov 2017 17:12:20 +0000
parents 0af5009bd52f
children 79434b9de159
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
294
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
3 PROGS= c1xx-calextr fc-cal2bin
292
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
294
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
10 CAL2BIN_OBJS= fc-cal2bin.o ${LIBRFTAB}
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
11
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
12 CALEXTR_OBJS= c1xx-calextr.o
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
13
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
14 fc-cal2bin: ${CAL2BIN_OBJS}
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
15 ${CC} ${CFLAGS} -o $@ ${CAL2BIN_OBJS}
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
16
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
17 c1xx-calextr: ${CALEXTR_OBJS}
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
18 ${CC} ${CFLAGS} -o $@ ${CALEXTR_OBJS}
292
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 install:
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 mkdir -p ${INSTBIN}
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 install -c ${PROGS} ${INSTBIN}
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 clean:
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 rm -f ${PROGS} *.o *errs *.out