FreeCalypso > hg > freecalypso-tools
annotate ffstools/caltools/Makefile @ 335:097ce8431d11
uptools/libcoding: SMS DCS decoding implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 04 Feb 2018 00:43:14 +0000 |
parents | 79434b9de159 |
children | f4a32c1025a2 |
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 |
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 |
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 |
295
79434b9de159
c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
294
diff
changeset
|
20 mkdir.o: ../cal2text/mkdir.c |
79434b9de159
c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
294
diff
changeset
|
21 ${CC} ${CFLAGS} -c -o $@ $< |
79434b9de159
c1xx-calextr will need mkdir and librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
294
diff
changeset
|
22 |
292
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 install: |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 mkdir -p ${INSTBIN} |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 install -c ${PROGS} ${INSTBIN} |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 clean: |
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 rm -f ${PROGS} *.o *errs *.out |