annotate ffstools/caltools/Makefile @ 468:542c6d733772

sms-pdu-decode: null pointer passing fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Feb 2019 22:29:58 +0000
parents f4a32c1025a2
children 90d7c360a614
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
439
f4a32c1025a2 fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 295
diff changeset
3 PROGS= c1xx-calextr fc-cal2bin fc-rftab2c
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
295
79434b9de159 c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents: 294
diff changeset
12 CALEXTR_OBJS= c1xx-calextr.o mkdir.o ${LIBRFTAB}
294
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
13
439
f4a32c1025a2 fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 295
diff changeset
14 RFTAB2C_OBJS= fc-rftab2c.o ${LIBRFTAB}
f4a32c1025a2 fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 295
diff changeset
15
294
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
16 fc-cal2bin: ${CAL2BIN_OBJS}
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
17 ${CC} ${CFLAGS} -o $@ ${CAL2BIN_OBJS}
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
18
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
19 c1xx-calextr: ${CALEXTR_OBJS}
1416fe200069 c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents: 292
diff changeset
20 ${CC} ${CFLAGS} -o $@ ${CALEXTR_OBJS}
292
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
439
f4a32c1025a2 fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 295
diff changeset
22 fc-rftab2c: ${RFTAB2C_OBJS}
f4a32c1025a2 fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 295
diff changeset
23 ${CC} ${CFLAGS} -o $@ ${RFTAB2C_OBJS}
f4a32c1025a2 fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 295
diff changeset
24
295
79434b9de159 c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents: 294
diff changeset
25 mkdir.o: ../cal2text/mkdir.c
79434b9de159 c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents: 294
diff changeset
26 ${CC} ${CFLAGS} -c -o $@ $<
79434b9de159 c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents: 294
diff changeset
27
292
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 install:
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 mkdir -p ${INSTBIN}
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 install -c ${PROGS} ${INSTBIN}
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 clean:
0af5009bd52f fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 rm -f ${PROGS} *.o *errs *.out