FreeCalypso > hg > freecalypso-tools
annotate rvinterf/lowlevel/Makefile @ 721:059649902c7f
librftab: added support for adc-cal tables
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 25 Aug 2020 07:15:02 +0000 |
parents | d43dc6dfb44c |
children | a1065c17429c |
rev | line source |
---|---|
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROGS= rvtdump rvinterf tfc139 |
253
6f078c4a5506
rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
49
diff
changeset
|
4 LIBS= ../../libserial/libserial.a ../libg23/libg23.a |
581
d43dc6dfb44c
-P option added to rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
5 LIBPWON=../../libpwon/libpwon.a |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
473
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
253
diff
changeset
|
7 INSTALL_PREFIX= /opt/freecalypso |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
253
diff
changeset
|
8 |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
253
diff
changeset
|
9 INSTBIN=${INSTALL_PREFIX}/bin |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
253
diff
changeset
|
10 |
253
6f078c4a5506
rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
49
diff
changeset
|
11 RVTDUMP_OBJS= format.o format_fc.o output.o packetrx.o rvtdump.o |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 RVINTERF_OBJS= clientcmd.o format.o format_fc.o localsock.o logsent.o \ |
253
6f078c4a5506
rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
49
diff
changeset
|
14 output.o packetrx.o packettx.o pktfwd.o rviflcd.o \ |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 rvifmain.o |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
253
6f078c4a5506
rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
49
diff
changeset
|
17 TFC139_OBJS= format.o output.o packetrx.o packettx.o tfc139.o |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 all: ${PROGS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
253
6f078c4a5506
rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
49
diff
changeset
|
21 rvtdump: ${RVTDUMP_OBJS} ${LIBS} |
6f078c4a5506
rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
49
diff
changeset
|
22 ${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS} ${LIBS} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 |
581
d43dc6dfb44c
-P option added to rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
24 rvinterf: ${RVINTERF_OBJS} ${LIBS} ${LIBPWON} |
d43dc6dfb44c
-P option added to rvinterf
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
25 ${CC} ${CFLAGS} -o $@ ${RVINTERF_OBJS} ${LIBS} ${LIBPWON} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
253
6f078c4a5506
rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
49
diff
changeset
|
27 tfc139: ${TFC139_OBJS} ${LIBS} |
6f078c4a5506
rvinterf and friends converted to use libserial
Mychaela Falconia <falcon@freecalypso.org>
parents:
49
diff
changeset
|
28 ${CC} ${CFLAGS} -o $@ ${TFC139_OBJS} ${LIBS} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 install: ${PROGS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 mkdir -p ${INSTBIN} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 install -c ${PROGS} ${INSTBIN} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 clean: |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 rm -f *.o *.out *errs ${PROGS} |