FreeCalypso > hg > fc-rfcal-tools
annotate autocal/Makefile @ 127:fd856f729618
scripts: fc-rfcal-tri850 added
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 24 Dec 2019 07:08:27 +0000 |
parents | 6a7f8d201859 |
children |
rev | line source |
---|---|
13 | 1 CC= gcc |
2 CFLAGS= -O2 -I/opt/freecalypso/include | |
75
93653fe9b4ef
fc-rfcal-txband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
74
diff
changeset
|
3 PROGS= fc-rfcal-gmagic fc-rfcal-rxband fc-rfcal-txband fc-rfcal-txbasis \ |
93653fe9b4ef
fc-rfcal-txband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
74
diff
changeset
|
4 fc-rfcal-txcheck fc-rfcal-vcxo |
32
ea1d9f7f625f
autocal/Makefile: make install added
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
5 INSTBIN=/opt/freecalypso/bin |
22
e8bcead3aa9b
autocal: started linking fc-rfcal-vcxo
Mychaela Falconia <falcon@freecalypso.org>
parents:
21
diff
changeset
|
6 |
73
c9bd1f75029f
autocal: C main modules for standalone programs renamed more sensibly
Mychaela Falconia <falcon@freecalypso.org>
parents:
60
diff
changeset
|
7 GMAGIC_OBJS= gmagicstand.o l1meas.o l1tmops.o rvinterf.o rxcommon.o \ |
45
98abe6bd2042
autocal: scw implemented for Rx cal
Mychaela Falconia <falcon@freecalypso.org>
parents:
44
diff
changeset
|
8 sockopts.o tsidsock.o |
98abe6bd2042
autocal: scw implemented for Rx cal
Mychaela Falconia <falcon@freecalypso.org>
parents:
44
diff
changeset
|
9 |
74
d388732c2f73
autocal: rxband.c renamed to rxbandmain.c for consistency
Mychaela Falconia <falcon@freecalypso.org>
parents:
73
diff
changeset
|
10 RXBAND_OBJS= l1meas.o l1tmops.o rvinterf.o rxbandmain.o rxcommon.o \ |
d388732c2f73
autocal: rxband.c renamed to rxbandmain.c for consistency
Mychaela Falconia <falcon@freecalypso.org>
parents:
73
diff
changeset
|
11 rxupload.o sockopts.o tsidsock.o |
57
2588f9eed11a
fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
56
diff
changeset
|
12 |
75
93653fe9b4ef
fc-rfcal-txband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
74
diff
changeset
|
13 TXBAND_OBJS= l1tmops.o rvinterf.o sockopts.o tsidsock.o txbandmain.o \ |
82
a094db1453b1
fc-rfcal-txband: implemented computation of APC from basis
Mychaela Falconia <falcon@freecalypso.org>
parents:
80
diff
changeset
|
14 txbasis.o txcalchan.o txcalconf.o txlevels.o txpwrmeas.o \ |
a094db1453b1
fc-rfcal-txband: implemented computation of APC from basis
Mychaela Falconia <falcon@freecalypso.org>
parents:
80
diff
changeset
|
15 txvout.o |
75
93653fe9b4ef
fc-rfcal-txband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
74
diff
changeset
|
16 |
118
6a7f8d201859
fc-rfcal-txbasis: added -l option to show slope (check linearity)
Mychaela Falconia <falcon@freecalypso.org>
parents:
82
diff
changeset
|
17 TXBASIS_OBJS= l1tmops.o rvinterf.o tsidsock.o txpwrmeas.o txstandbas.o \ |
6a7f8d201859
fc-rfcal-txbasis: added -l option to show slope (check linearity)
Mychaela Falconia <falcon@freecalypso.org>
parents:
82
diff
changeset
|
18 txvout.o |
56
df827df6db82
fc-rfcal-txbasis written, ready to test
Mychaela Falconia <falcon@freecalypso.org>
parents:
54
diff
changeset
|
19 |
73
c9bd1f75029f
autocal: C main modules for standalone programs renamed more sensibly
Mychaela Falconia <falcon@freecalypso.org>
parents:
60
diff
changeset
|
20 TXCHECK_OBJS= l1tmops.o rvinterf.o sockopts.o tsidsock.o txpwrmeas.o \ |
c9bd1f75029f
autocal: C main modules for standalone programs renamed more sensibly
Mychaela Falconia <falcon@freecalypso.org>
parents:
60
diff
changeset
|
21 txstandchk.o |
53
bc2397f62bdb
rf-cal-txcheck started
Mychaela Falconia <falcon@freecalypso.org>
parents:
45
diff
changeset
|
22 |
24
0b6881281d86
fc-rfcal-vcxo ready for first test
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
23 VCXO_OBJS= l1tmops.o rvinterf.o sockopts.o tsidsock.o vcxomain.o vcxomeas.o |
13 | 24 |
22
e8bcead3aa9b
autocal: started linking fc-rfcal-vcxo
Mychaela Falconia <falcon@freecalypso.org>
parents:
21
diff
changeset
|
25 all: ${PROGS} |
e8bcead3aa9b
autocal: started linking fc-rfcal-vcxo
Mychaela Falconia <falcon@freecalypso.org>
parents:
21
diff
changeset
|
26 |
42
dcf7cd305e2b
fc-rfcal-gmagic started
Mychaela Falconia <falcon@freecalypso.org>
parents:
32
diff
changeset
|
27 fc-rfcal-gmagic: ${GMAGIC_OBJS} |
dcf7cd305e2b
fc-rfcal-gmagic started
Mychaela Falconia <falcon@freecalypso.org>
parents:
32
diff
changeset
|
28 ${CC} -o $@ ${GMAGIC_OBJS} |
dcf7cd305e2b
fc-rfcal-gmagic started
Mychaela Falconia <falcon@freecalypso.org>
parents:
32
diff
changeset
|
29 |
57
2588f9eed11a
fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
56
diff
changeset
|
30 fc-rfcal-rxband: ${RXBAND_OBJS} |
2588f9eed11a
fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
56
diff
changeset
|
31 ${CC} -o $@ ${RXBAND_OBJS} |
2588f9eed11a
fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
56
diff
changeset
|
32 |
75
93653fe9b4ef
fc-rfcal-txband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
74
diff
changeset
|
33 fc-rfcal-txband: ${TXBAND_OBJS} |
79
394daa4ad6e8
fc-rfcal-txband: dBm to Vout function implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
77
diff
changeset
|
34 ${CC} -o $@ ${TXBAND_OBJS} -lm |
75
93653fe9b4ef
fc-rfcal-txband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
74
diff
changeset
|
35 |
56
df827df6db82
fc-rfcal-txbasis written, ready to test
Mychaela Falconia <falcon@freecalypso.org>
parents:
54
diff
changeset
|
36 fc-rfcal-txbasis: ${TXBASIS_OBJS} |
118
6a7f8d201859
fc-rfcal-txbasis: added -l option to show slope (check linearity)
Mychaela Falconia <falcon@freecalypso.org>
parents:
82
diff
changeset
|
37 ${CC} -o $@ ${TXBASIS_OBJS} -lm |
56
df827df6db82
fc-rfcal-txbasis written, ready to test
Mychaela Falconia <falcon@freecalypso.org>
parents:
54
diff
changeset
|
38 |
53
bc2397f62bdb
rf-cal-txcheck started
Mychaela Falconia <falcon@freecalypso.org>
parents:
45
diff
changeset
|
39 fc-rfcal-txcheck: ${TXCHECK_OBJS} |
bc2397f62bdb
rf-cal-txcheck started
Mychaela Falconia <falcon@freecalypso.org>
parents:
45
diff
changeset
|
40 ${CC} -o $@ ${TXCHECK_OBJS} |
bc2397f62bdb
rf-cal-txcheck started
Mychaela Falconia <falcon@freecalypso.org>
parents:
45
diff
changeset
|
41 |
22
e8bcead3aa9b
autocal: started linking fc-rfcal-vcxo
Mychaela Falconia <falcon@freecalypso.org>
parents:
21
diff
changeset
|
42 fc-rfcal-vcxo: ${VCXO_OBJS} |
e8bcead3aa9b
autocal: started linking fc-rfcal-vcxo
Mychaela Falconia <falcon@freecalypso.org>
parents:
21
diff
changeset
|
43 ${CC} -o $@ ${VCXO_OBJS} |
13 | 44 |
32
ea1d9f7f625f
autocal/Makefile: make install added
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
45 install: |
ea1d9f7f625f
autocal/Makefile: make install added
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
46 mkdir -p ${INSTBIN} |
ea1d9f7f625f
autocal/Makefile: make install added
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
47 install -c ${PROGS} ${INSTBIN} |
ea1d9f7f625f
autocal/Makefile: make install added
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
48 |
13 | 49 clean: |
32
ea1d9f7f625f
autocal/Makefile: make install added
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
50 rm -f *.o *.out *errs ${PROGS} |