@@ -327,10 +327,10 @@ gen_packets : gen_packets.c ax25_pad.c hdlc_send.c fcs_calc.c gen_tone.c morse.c
327
327
328
328
# Unit test for AFSK demodulator
329
329
330
- atest : atest.c fsk_fast_filter.h demod.c demod_afsk.c demod_9600.c \
331
- dsp.o hdlc_rec.c hdlc_rec2.o multi_modem.o rrbb.o \
332
- fcs_calc.c ax25_pad.c decode_aprs.c dwgpsnmea.o \
333
- dwgps.o dwgpsd.o serial_port.o telemetry.c latlong.c symbols.c tt_text.c textcolor.c \
330
+ atest : atest.c demod.o demod_afsk.o demod_9600.o \
331
+ dsp.o hdlc_rec.o hdlc_rec2.o multi_modem.o rrbb.o \
332
+ fcs_calc.o ax25_pad.o decode_aprs.o dwgpsnmea.o \
333
+ dwgps.o dwgpsd.o serial_port.o telemetry.o latlong.o symbols.o tt_text.o textcolor.o \
334
334
misc.a
335
335
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
336
336
@@ -683,26 +683,31 @@ kisstest : kiss_frame.c
683
683
684
684
# ----------------------------- Manual tests and experiments ---------------------------
685
685
686
+ # These are not included in a normal build. Might be broken.
686
687
687
688
# Unit test for IGate
688
689
689
690
itest : igate.c textcolor.c ax25_pad.c fcs_calc.c textcolor.o misc.a
690
691
$(CC) $(CFLAGS) -DITEST -o $@ $^
691
692
./itest
692
693
693
- # Unit test for UDP reception with AFSK demodulator
694
+ # Unit test for UDP reception with AFSK demodulator.
695
+ # Temporary during development. Might not be useful anymore.
694
696
695
- udptest : udp_test.c demod.c dsp.c demod_afsk.c demod_9600.c hdlc_rec.c hdlc_rec2.c multi_modem.c rrbb.c
696
- fcs_calc.c ax25_pad.c decode_aprs.c symbols.c textcolor.c misc.a
697
+ udptest : udp_test.c demod.o dsp.o demod_afsk.o demod_9600.o hdlc_rec.o hdlc_rec2.o multi_modem.o rrbb.o \
698
+ fcs_calc.o ax25_pad.o decode_aprs.o symbols.o textcolor.o misc.a
697
699
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
698
700
./udptest
699
701
702
+ # For demodulator tweaking experiments.
703
+ # Dependencies of demod*.c, rather than .o, are intentional.
704
+
700
705
demod.o : tune.h
701
706
demod_afsk.o : tune.h
702
707
demod_9600.o : tune.h
703
708
704
- testagc : atest.c demod.c dsp.c demod_afsk.c demod_9600.c hdlc_rec.c hdlc_rec2.o multi_modem.o rrbb.o \
705
- fcs_calc.c ax25_pad.c decode_aprs.c telemetry.c latlong.c symbols.c tune.h textcolor.c misc.a
709
+ testagc : atest.c demod.c dsp.c demod_afsk.c demod_9600.c hdlc_rec.o hdlc_rec2.o multi_modem.o rrbb.o \
710
+ fcs_calc.o ax25_pad.o decode_aprs.o telemetry.o latlong.o symbols.o tune.h textcolor.o misc.a
706
711
$(CC) $(CFLAGS) -o atest $^ $(LDFLAGS)
707
712
./atest 02_Track_2.wav | grep "packets decoded in" > atest.out
708
713
0 commit comments