2015-07-27 00:35:07 +00:00
|
|
|
#
|
|
|
|
# Makefile for native Windows version of Dire Wolf.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# This is built in the Cygwin environment but with the
|
|
|
|
# compiler from http://www.mingw.org/ so there is no
|
|
|
|
# dependency on extra DLLs.
|
|
|
|
#
|
|
|
|
# The MinGW/bin directory must be in the PATH for the
|
|
|
|
# compiler. e.g. export PATH=/cygdrive/c/MinGW/bin:$PATH
|
|
|
|
#
|
|
|
|
# Failure to have the path set correctly will result in the
|
|
|
|
# obscure message: Makefile.win:... recipe for target ... failed.
|
|
|
|
#
|
|
|
|
# Type "which gcc" to make sure you are getting the right one!
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-01-21 16:07:20 +00:00
|
|
|
all : direwolf decode_aprs text2tt tt2text ll2utm utm2ll aclients log2gpx gen_packets atest ttcalc tnctest tnctest-issue-132 kissutil
|
2015-07-27 00:35:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
# People say we need -mthreads option for threads to work properly.
|
|
|
|
# They also say it creates a dependency on mingwm10.dll but I'm not seeing that.
|
2016-07-03 22:09:34 +00:00
|
|
|
# Maybe that is for pthreads. We are using the Windows threads.
|
|
|
|
|
|
|
|
# -Ofast was added in gcc 4.6 which was the MinGW version back in 2012.
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2015-07-27 01:17:23 +00:00
|
|
|
CC := gcc
|
2017-01-01 16:49:55 +00:00
|
|
|
CFLAGS := -Ofast -march=pentium3 -msse -Iregex -Iutm -Igeotranz -mthreads -DUSE_REGEX_STATIC -Wall -Wlogical-op
|
2015-07-27 01:17:23 +00:00
|
|
|
AR := ar
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2015-09-07 23:56:20 +00:00
|
|
|
CFLAGS += -g
|
2017-09-12 01:53:38 +00:00
|
|
|
# TEMP EXPERIMENT - DO NOT RELEASE
|
|
|
|
#CFLAGS += -fsanitize=undefined
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2017-01-01 16:49:55 +00:00
|
|
|
# For version 1.4, we upgrade from gcc 4.6.2 to 4.9.3.
|
2016-07-03 22:09:34 +00:00
|
|
|
|
|
|
|
# gcc 4.8 adds these. Try them just for fun.
|
|
|
|
# No, it needs libasan which is not on Windows.
|
|
|
|
#CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
|
|
|
|
2017-01-01 16:49:55 +00:00
|
|
|
# Helpful for the demodulators. Overkill for non-hot spots.
|
|
|
|
#CFLAGS += -Wdouble-promotion
|
2016-07-03 22:09:34 +00:00
|
|
|
|
2017-01-01 16:49:55 +00:00
|
|
|
# Don't have the patience for this right now.
|
|
|
|
#CFLAGS += -Wextra
|
|
|
|
|
|
|
|
# Continue working on these.
|
|
|
|
CFLAGS += -Wsign-compare
|
|
|
|
CFLAGS += -Wuninitialized
|
|
|
|
CFLAGS += -Wold-style-declaration
|
|
|
|
# CFLAGS += -fdelete-null-pointer-checks -Wnull-dereference ---not recognized
|
|
|
|
#CFLAGS += -Wold-style-definition
|
|
|
|
#-Wmissing-prototypes
|
2016-05-01 22:46:47 +00:00
|
|
|
|
2015-07-27 00:35:07 +00:00
|
|
|
#
|
|
|
|
# Let's see impact of various optimization levels.
|
|
|
|
# Benchmark results with MinGW gcc version 4.6.2.
|
|
|
|
#
|
|
|
|
# seconds options, comments
|
|
|
|
# ------ -----------------
|
|
|
|
# 119.8 -O2 Used for version 0.8
|
|
|
|
# 92.1 -O3
|
|
|
|
# 88.7 -Ofast (should be same as -O3 -ffastmath)
|
|
|
|
# 87.5 -Ofast -march=pentium
|
|
|
|
# 74.1 -Ofast -msse
|
|
|
|
# 72.2 -Ofast -march=pentium -msse
|
|
|
|
# 62.0 -Ofast -march=pentium3 (this implies -msse)
|
|
|
|
# 61.9 -Ofast -march=pentium3 -msse
|
|
|
|
#
|
|
|
|
# A minimum of Windows XP is required due to some of the system
|
|
|
|
# features being used. XP requires a Pentium processor or later.
|
|
|
|
# The DSP filters can be sped up considerably with the SSE instructions.
|
|
|
|
# The SSE instructions were introduced in 1999 with the
|
|
|
|
# Pentium III series.
|
|
|
|
# SSE2 instructions, added in 2000, don't seem to offer any advantage.
|
|
|
|
#
|
|
|
|
# For version 0.9, a Pentium 3 or equivalent is now the minimum required
|
|
|
|
# for the prebuilt Windows distribution.
|
|
|
|
# If you insist on using a computer from the previous century,
|
|
|
|
# you can compile this yourself with different options.
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
# -------------------------------------- Main application --------------------------------
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
# Not sure why this is here.
|
|
|
|
|
|
|
|
demod.o : fsk_demod_state.h
|
|
|
|
|
2015-07-27 00:35:07 +00:00
|
|
|
demod_9600.o : fsk_demod_state.h
|
2016-05-01 22:46:47 +00:00
|
|
|
|
2015-07-27 00:35:07 +00:00
|
|
|
demod_afsk.o : fsk_demod_state.h
|
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
demod_psk.o : fsk_demod_state.h
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
|
|
|
|
direwolf : direwolf.o config.o recv.o demod.o dsp.o demod_afsk.o demod_psk.o demod_9600.o hdlc_rec.o \
|
2016-07-03 22:09:34 +00:00
|
|
|
hdlc_rec2.o multi_modem.o rdq.o rrbb.o dlq.o \
|
2016-11-20 19:58:51 +00:00
|
|
|
fcs_calc.o ax25_pad.o ax25_pad2.o xid.o \
|
2017-05-03 21:41:37 +00:00
|
|
|
decode_aprs.o symbols.o server.o kiss.o kissserial.o kissnet.o kiss_frame.o hdlc_send.o fcs_calc.o \
|
2016-11-20 19:58:51 +00:00
|
|
|
gen_tone.o morse.o audio_win.o audio_stats.o digipeater.o cdigipeater.o pfilter.o dedupe.o tq.o xmit.o \
|
2015-07-27 00:35:07 +00:00
|
|
|
ptt.o beacon.o dwgps.o encode_aprs.o latlong.o textcolor.o \
|
2016-03-20 23:23:09 +00:00
|
|
|
dtmf.o aprs_tt.o tt_user.o tt_text.o igate.o waypoint.o serial_port.o log.o telemetry.o \
|
2018-01-07 20:58:04 +00:00
|
|
|
dwgps.o dwgpsnmea.o dtime_now.o mheard.o ax25_link.o cm108.c \
|
2015-07-27 01:17:23 +00:00
|
|
|
dw-icon.o regex.a misc.a geotranz.a
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^ -lwinmm -lws2_32
|
2015-07-27 00:35:07 +00:00
|
|
|
|
|
|
|
dw-icon.o : dw-icon.rc dw-icon.ico
|
|
|
|
windres dw-icon.rc -o $@
|
|
|
|
|
|
|
|
|
|
|
|
# Optimization for slow processors.
|
|
|
|
|
|
|
|
demod.o : fsk_fast_filter.h
|
|
|
|
|
|
|
|
demod_afsk.o : fsk_fast_filter.h
|
|
|
|
|
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
fsk_fast_filter.h : gen_fff
|
2015-07-27 00:35:07 +00:00
|
|
|
./gen_fff > fsk_fast_filter.h
|
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
gen_fff : demod_afsk.c dsp.c textcolor.c
|
|
|
|
echo " " > tune.h
|
|
|
|
$(CC) $(CFLAGS) -DGEN_FFF -o $@ $^
|
|
|
|
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
#
|
|
|
|
# The destination field is often used to identify the manufacturer/model.
|
|
|
|
# These are not hardcoded into Dire Wolf. Instead they are read from
|
|
|
|
# a file called tocalls.txt at application start up time.
|
|
|
|
#
|
|
|
|
# The original permanent symbols are built in but the "new" symbols,
|
|
|
|
# using overlays, are often updated. These are also read from files.
|
|
|
|
#
|
|
|
|
# You can obtain an updated copy by typing "make tocalls-symbols".
|
|
|
|
# This is not part of the normal build process. You have to do this explicitly.
|
|
|
|
#
|
|
|
|
# The locations below appear to be the most recent.
|
|
|
|
# The copy at http://www.aprs.org/tocalls.txt is out of date.
|
|
|
|
#
|
|
|
|
|
|
|
|
.PHONY: tocalls-symbols
|
|
|
|
tocalls-symbols :
|
|
|
|
cp tocalls.txt tocalls.txt~
|
|
|
|
wget http://www.aprs.org/aprs11/tocalls.txt -O tocalls.txt
|
|
|
|
-diff tocalls.txt~ tocalls.txt
|
|
|
|
cp symbols-new.txt symbols-new.txt~
|
|
|
|
wget http://www.aprs.org/symbols/symbols-new.txt -O symbols-new.txt
|
|
|
|
-diff symbols-new.txt~ symbols-new.txt
|
|
|
|
cp symbolsX.txt symbolsX.txt~
|
|
|
|
wget http://www.aprs.org/symbols/symbolsX.txt -O symbolsX.txt
|
|
|
|
-diff symbolsX.txt~ symbolsX.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------- Other utilities included with distribution -------------------------
|
|
|
|
|
|
|
|
|
|
|
|
# Separate application to decode raw data.
|
|
|
|
|
2017-09-12 01:53:38 +00:00
|
|
|
# First three use .c rather than .o because they depend on DECAMAIN definition.
|
2017-05-24 23:25:08 +00:00
|
|
|
|
2017-09-12 01:53:38 +00:00
|
|
|
decode_aprs : decode_aprs.c kiss_frame.c ax25_pad.c dwgpsnmea.o dwgps.o serial_port.o symbols.o textcolor.o fcs_calc.o latlong.o log.o telemetry.o tt_text.o regex.a misc.a geotranz.a
|
2015-11-08 01:57:02 +00:00
|
|
|
$(CC) $(CFLAGS) -DDECAMAIN -o decode_aprs $^
|
|
|
|
|
|
|
|
|
|
|
|
# Convert between text and touch tone representation.
|
|
|
|
|
|
|
|
text2tt : tt_text.c misc.a
|
|
|
|
$(CC) $(CFLAGS) -DENC_MAIN -o $@ $^
|
|
|
|
|
|
|
|
tt2text : tt_text.c misc.a
|
|
|
|
$(CC) $(CFLAGS) -DDEC_MAIN -o $@ $^
|
|
|
|
|
|
|
|
|
|
|
|
# Convert between Latitude/Longitude and UTM coordinates.
|
|
|
|
|
|
|
|
ll2utm : ll2utm.c textcolor.c geotranz.a misc.a
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
utm2ll : utm2ll.c textcolor.c geotranz.a misc.a
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
|
|
|
|
# Convert from log file to GPX.
|
|
|
|
|
|
|
|
log2gpx : log2gpx.c textcolor.o misc.a
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
|
|
|
|
# Test application to generate sound.
|
|
|
|
|
2017-01-01 16:49:55 +00:00
|
|
|
gen_packets : gen_packets.o ax25_pad.o hdlc_send.o fcs_calc.o gen_tone.o morse.o dtmf.o textcolor.o dsp.o misc.a regex.a
|
2015-11-08 01:57:02 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
|
2017-05-03 21:41:37 +00:00
|
|
|
|
2019-01-21 16:07:20 +00:00
|
|
|
# Connected mode sample applications for talking to network TNC with AGW protocol.
|
2017-05-03 21:41:37 +00:00
|
|
|
|
2019-01-21 16:07:20 +00:00
|
|
|
appserver : appserver.o agwlib.o dwsock.o textcolor.o dtime_now.o misc.a
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^ -lwinmm -lws2_32
|
2017-05-03 21:41:37 +00:00
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
|
|
|
|
# ------------------------------------------- Libraries --------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-07-27 01:17:23 +00:00
|
|
|
# UTM, USNG, MGRS conversions.
|
|
|
|
|
|
|
|
geotranz.a : error_string.o mgrs.o polarst.o tranmerc.o ups.o usng.o utm.o
|
2015-07-27 00:35:07 +00:00
|
|
|
ar -cr $@ $^
|
|
|
|
|
2015-07-27 01:17:23 +00:00
|
|
|
error_string.o : geotranz/error_string.c
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $^
|
|
|
|
|
|
|
|
mgrs.o : geotranz/mgrs.c
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $^
|
|
|
|
|
|
|
|
polarst.o : geotranz/polarst.c
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $^
|
|
|
|
|
|
|
|
tranmerc.o : geotranz/tranmerc.c
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $^
|
|
|
|
|
|
|
|
ups.o : geotranz/ups.c
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $^
|
|
|
|
|
|
|
|
usng.o : geotranz/usng.c
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $^
|
|
|
|
|
|
|
|
utm.o : geotranz/utm.c
|
2015-07-27 00:35:07 +00:00
|
|
|
$(CC) $(CFLAGS) -c -o $@ $^
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# When building for Linux, we use regular expression
|
|
|
|
# functions supplied by the gnu C library.
|
|
|
|
# For the native WIN32 version, we need to use our own copy.
|
|
|
|
# These were copied from http://gnuwin32.sourceforge.net/packages/regex.htm
|
2017-01-01 16:49:55 +00:00
|
|
|
# Consider upgrading from https://www.gnu.org/software/libc/sources.html
|
2015-07-27 00:35:07 +00:00
|
|
|
|
|
|
|
regex.a : regex.o
|
|
|
|
ar -cr $@ $^
|
|
|
|
|
|
|
|
regex.o : regex/regex.c
|
|
|
|
$(CC) $(CFLAGS) -Dbool=int -Dtrue=1 -Dfalse=0 -c -o $@ $^
|
|
|
|
|
|
|
|
|
2017-01-01 16:49:55 +00:00
|
|
|
|
|
|
|
# There are several string functions found in Linux
|
2015-11-08 01:57:02 +00:00
|
|
|
# but not on Windows. Need to provide our own copy.
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2015-09-07 23:56:20 +00:00
|
|
|
misc.a : strsep.o strtok_r.o strcasestr.o strlcpy.o strlcat.o
|
2015-07-27 00:35:07 +00:00
|
|
|
ar -cr $@ $^
|
|
|
|
|
|
|
|
strsep.o : misc/strsep.c
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $^
|
|
|
|
|
|
|
|
strtok_r.o : misc/strtok_r.c
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $^
|
|
|
|
|
|
|
|
strcasestr.o : misc/strcasestr.c
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $^
|
|
|
|
|
2015-09-07 23:56:20 +00:00
|
|
|
strlcpy.o : misc/strlcpy.c
|
|
|
|
$(CC) $(CFLAGS) -I. -c -o $@ $^
|
|
|
|
|
|
|
|
strlcat.o : misc/strlcat.c
|
|
|
|
$(CC) $(CFLAGS) -I. -c -o $@ $^
|
2015-07-27 00:35:07 +00:00
|
|
|
|
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
# --------------------------------- Automated Smoke Test --------------------------------
|
2015-07-27 00:35:07 +00:00
|
|
|
|
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
# Combine some unit tests into a single regression sanity check.
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2019-05-20 00:57:56 +00:00
|
|
|
check : dtest ttest tttexttest pftest tlmtest lltest enctest kisstest pad2test xidtest dtmftest check-modem1200 check-modem300 check-modem9600 check-modem19200 check-modem2400-a check-modem2400-b check-modem2400-g check-modem4800
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
# Can we encode and decode at popular data rates?
|
2015-11-29 15:44:30 +00:00
|
|
|
# Verify that single bit fixup increases the count.
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
check-modem1200 : gen_packets atest
|
2016-05-01 22:46:47 +00:00
|
|
|
gen_packets -n 100 -o test12.wav
|
|
|
|
atest -F0 -PE -L64 -G72 test12.wav
|
|
|
|
atest -F1 -PE -L70 -G75 test12.wav
|
|
|
|
rm test12.wav
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
check-modem300 : gen_packets atest
|
|
|
|
gen_packets -B300 -n 100 -o test3.wav
|
|
|
|
atest -B300 -F0 -L68 -G69 test3.wav
|
2016-05-01 22:46:47 +00:00
|
|
|
atest -B300 -F1 -L71 -G75 test3.wav
|
2015-11-08 01:57:02 +00:00
|
|
|
rm test3.wav
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2017-01-01 16:49:55 +00:00
|
|
|
#FIXME: test full amplitude.
|
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
check-modem9600 : gen_packets atest
|
2017-01-01 16:49:55 +00:00
|
|
|
gen_packets -B9600 -a 170 -o test96.wav
|
|
|
|
sleep 1
|
|
|
|
atest -B9600 -F0 -L4 -G4 test96.wav
|
|
|
|
sleep 1
|
|
|
|
rm test96.wav
|
|
|
|
sleep 1
|
2016-05-01 22:46:47 +00:00
|
|
|
gen_packets -B9600 -n 100 -o test96.wav
|
|
|
|
sleep 1
|
2019-01-21 16:07:20 +00:00
|
|
|
atest -B9600 -F0 -L61 -G65 test96.wav
|
|
|
|
atest -B9600 -F1 -L62 -G66 test96.wav
|
2016-05-01 22:46:47 +00:00
|
|
|
sleep 1
|
|
|
|
rm test96.wav
|
|
|
|
|
|
|
|
check-modem19200 : gen_packets atest
|
2017-01-01 16:49:55 +00:00
|
|
|
gen_packets -r 96000 -B19200 -a 170 -o test19.wav
|
|
|
|
sleep 1
|
|
|
|
atest -B19200 -F0 -L4 test19.wav
|
|
|
|
sleep 1
|
|
|
|
rm test19.wav
|
|
|
|
sleep 1
|
2016-05-01 22:46:47 +00:00
|
|
|
gen_packets -r 96000 -B19200 -n 100 -o test19.wav
|
|
|
|
sleep 1
|
2019-01-21 16:07:20 +00:00
|
|
|
atest -B19200 -F0 -L60 -G64 test19.wav
|
|
|
|
atest -B19200 -F1 -L64 -G68 test19.wav
|
2016-05-01 22:46:47 +00:00
|
|
|
sleep 1
|
|
|
|
rm test19.wav
|
|
|
|
|
2019-05-20 00:57:56 +00:00
|
|
|
check-modem2400-a : gen_packets atest
|
|
|
|
gen_packets -B2400 -j -n 100 -o test24-a.wav
|
2016-05-01 22:46:47 +00:00
|
|
|
sleep 1
|
2019-05-20 00:57:56 +00:00
|
|
|
atest -B2400 -j -F0 -L76 -G80 test24-a.wav
|
|
|
|
atest -B2400 -j -F1 -L84 -G88 test24-a.wav
|
2016-05-01 22:46:47 +00:00
|
|
|
sleep 1
|
2019-05-20 00:57:56 +00:00
|
|
|
rm test24-a.wav
|
|
|
|
|
|
|
|
check-modem2400-b : gen_packets atest
|
|
|
|
gen_packets -B2400 -J -n 100 -o test24-b.wav
|
|
|
|
sleep 1
|
|
|
|
atest -B2400 -J -F0 -L79 -G83 test24-b.wav
|
|
|
|
atest -B2400 -J -F1 -L87 -G91 test24-b.wav
|
|
|
|
sleep 1
|
|
|
|
rm test24-b.wav
|
2016-05-01 22:46:47 +00:00
|
|
|
|
2019-01-21 16:07:20 +00:00
|
|
|
check-modem2400-g : gen_packets atest
|
|
|
|
gen_packets -B2400 -g -n 100 -o test24-g.wav
|
|
|
|
sleep 1
|
|
|
|
atest -B2400 -g -F0 -L99 -G100 test24-g.wav
|
|
|
|
sleep 1
|
|
|
|
rm test24-g.wav
|
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
check-modem4800 : gen_packets atest
|
|
|
|
gen_packets -B4800 -n 100 -o test48.wav
|
|
|
|
sleep 1
|
|
|
|
atest -B4800 -F0 -L70 -G74 test48.wav
|
|
|
|
atest -B4800 -F1 -L79 -G84 test48.wav
|
|
|
|
sleep 1
|
2016-07-03 22:09:34 +00:00
|
|
|
rm test48.wav
|
2016-05-01 22:46:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Unit test for demodulators
|
|
|
|
|
|
|
|
atest : atest.c fsk_fast_filter.h demod.c demod_afsk.c demod_psk.c demod_9600.c \
|
2015-11-08 01:57:02 +00:00
|
|
|
dsp.o hdlc_rec.o hdlc_rec2.o multi_modem.o \
|
|
|
|
rrbb.o fcs_calc.o ax25_pad.o decode_aprs.o \
|
|
|
|
dwgpsnmea.o dwgps.o serial_port.o latlong.c \
|
2016-07-03 22:09:34 +00:00
|
|
|
symbols.c tt_text.c textcolor.c telemetry.c dtime_now.o \
|
2016-11-20 19:58:51 +00:00
|
|
|
decode_aprs.o log.o \
|
2015-11-08 01:57:02 +00:00
|
|
|
misc.a regex.a
|
|
|
|
echo " " > tune.h
|
2015-07-27 01:05:48 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $^
|
2015-11-08 01:57:02 +00:00
|
|
|
#./atest ..\\direwolf-0.2\\02_Track_2.wav
|
|
|
|
#atest -B 9600 z9.wav
|
|
|
|
#atest za100.wav
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
atest9 : atest.c demod.c dsp.c demod_afsk.c demod_psk.c demod_9600.c hdlc_rec.c hdlc_rec2.c multi_modem.c \
|
2016-07-03 22:09:34 +00:00
|
|
|
rrbb.c fcs_calc.c ax25_pad.c decode_aprs.c latlong.c symbols.c textcolor.c telemetry.c dtime_now.o misc.a regex.a \
|
2015-11-08 01:57:02 +00:00
|
|
|
fsk_fast_filter.h
|
|
|
|
echo " " > tune.h
|
2015-07-27 01:05:48 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $^
|
2015-11-08 01:57:02 +00:00
|
|
|
./atest9 -B 9600 ../walkabout9600.wav | grep "packets decoded in" >atest.out
|
|
|
|
#./atest9 -B 9600 noise96.wav
|
2015-07-27 01:05:48 +00:00
|
|
|
|
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
# Unit test for inner digipeater algorithm
|
2015-07-27 01:05:48 +00:00
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
.PHONY: dtest
|
2017-01-01 16:49:55 +00:00
|
|
|
dtest : digipeater.c dedupe.c pfilter.c \
|
|
|
|
ax25_pad.o fcs_calc.o tq.o textcolor.o \
|
2015-11-08 01:57:02 +00:00
|
|
|
decode_aprs.o dwgpsnmea.o dwgps.o serial_port.o latlong.o telemetry.o symbols.o tt_text.o misc.a regex.a
|
|
|
|
$(CC) $(CFLAGS) -DDIGITEST -o $@ $^
|
|
|
|
./dtest
|
|
|
|
rm dtest.exe
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
# Unit test for APRStt tone seqence parsing.
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
.PHONTY: ttest
|
|
|
|
ttest : aprs_tt.c tt_text.c latlong.o textcolor.o geotranz.a misc.a
|
|
|
|
$(CC) $(CFLAGS) -Igeotranz -DTT_MAIN -o $@ $^
|
|
|
|
./ttest
|
|
|
|
rm ttest.exe
|
|
|
|
|
|
|
|
# Unit test for APRStt tone sequence / text conversions.
|
|
|
|
|
|
|
|
.PHONY: tttexttest
|
|
|
|
tttexttest : tt_text.c textcolor.o misc.a
|
|
|
|
$(CC) $(CFLAGS) -DTTT_TEST -o $@ $^
|
|
|
|
./tttexttest
|
|
|
|
rm tttexttest.exe
|
|
|
|
|
|
|
|
# Unit test for Packet Filtering.
|
|
|
|
|
|
|
|
.PHONY: pftest
|
|
|
|
pftest : pfilter.c ax25_pad.o textcolor.o fcs_calc.o decode_aprs.o dwgpsnmea.o dwgps.o serial_port.o latlong.o symbols.o telemetry.o tt_text.o misc.a regex.a
|
|
|
|
$(CC) $(CFLAGS) -DPFTEST -o $@ $^
|
|
|
|
./pftest
|
|
|
|
rm pftest.exe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Unit test for telemetry decoding.
|
|
|
|
|
|
|
|
.PHONY: tlmtest
|
|
|
|
tlmtest : telemetry.c ax25_pad.o fcs_calc.o textcolor.o misc.a regex.a
|
|
|
|
$(CC) $(CFLAGS) -DTEST -o $@ $^
|
|
|
|
./tlmtest
|
|
|
|
rm tlmtest.exe
|
|
|
|
|
|
|
|
|
|
|
|
# Unit test for location coordinate conversion.
|
|
|
|
|
|
|
|
.PHONY: lltest
|
|
|
|
lltest : latlong.c textcolor.o misc.a
|
|
|
|
$(CC) $(CFLAGS) -DLLTEST -o $@ $^
|
|
|
|
./lltest
|
|
|
|
rm lltest.exe
|
|
|
|
|
|
|
|
# Unit test for encoding position & object report.
|
|
|
|
|
|
|
|
.PHONY: enctest
|
|
|
|
enctest : encode_aprs.c latlong.c textcolor.c misc.a
|
|
|
|
$(CC) $(CFLAGS) -DEN_MAIN -o $@ $^
|
|
|
|
./enctest
|
|
|
|
rm enctest.exe
|
|
|
|
|
|
|
|
|
|
|
|
# Unit test for KISS encapsulation.
|
|
|
|
|
|
|
|
.PHONY: kisstest
|
|
|
|
kisstest : kiss_frame.c
|
|
|
|
$(CC) $(CFLAGS) -DKISSTEST -o $@ $^
|
|
|
|
./kisstest
|
|
|
|
rm kisstest.exe
|
|
|
|
|
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
# Unit test for constructing frames besides UI.
|
|
|
|
|
|
|
|
.PHONY: pad2test
|
|
|
|
pad2test : ax25_pad2.c ax25_pad.c fcs_calc.o textcolor.o regex.a misc.a
|
|
|
|
$(CC) $(CFLAGS) -DPAD2TEST -o $@ $^
|
|
|
|
./pad2test
|
|
|
|
rm pad2test.exe
|
|
|
|
|
2016-11-20 19:58:51 +00:00
|
|
|
# Unit Test for XID frame encode/decode.
|
|
|
|
|
|
|
|
.PHONY: xidtest
|
|
|
|
xidtest : xid.c textcolor.o misc.a
|
|
|
|
$(CC) $(CFLAGS) -DXIDTEST -o $@ $^
|
|
|
|
./xidtest
|
|
|
|
rm xidtest.exe
|
|
|
|
|
2017-01-01 16:49:55 +00:00
|
|
|
# Unit Test for DTMF encode/decode.
|
|
|
|
|
|
|
|
.PHONY: dtmftest
|
|
|
|
dtmftest : dtmf.c textcolor.o
|
|
|
|
$(CC) $(CFLAGS) -DDTMF_TEST -o $@ $^
|
|
|
|
./dtmftest
|
|
|
|
rm dtmftest.exe
|
2016-11-20 19:58:51 +00:00
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
# ------------------------------ Other manual testing & experimenting -------------------------------
|
2015-07-27 00:35:07 +00:00
|
|
|
|
|
|
|
|
2016-11-20 19:58:51 +00:00
|
|
|
tnctest : tnctest.c textcolor.o dtime_now.o serial_port.o misc.a
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^ -lwinmm -lws2_32
|
|
|
|
|
2019-01-21 16:07:20 +00:00
|
|
|
tnctest-issue-132 : tnctest-issue-132.c textcolor.o dtime_now.o serial_port.o misc.a
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^ -lwinmm -lws2_32
|
|
|
|
|
2016-11-20 19:58:51 +00:00
|
|
|
|
2015-07-27 00:35:07 +00:00
|
|
|
# For tweaking the demodulator.
|
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
demod.o : tune.h
|
2015-07-27 00:35:07 +00:00
|
|
|
demod_9600.o : tune.h
|
|
|
|
demod_afsk.o : tune.h
|
2016-05-01 22:46:47 +00:00
|
|
|
demod_psk.o : tune.h
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
testagc : atest.c demod.c dsp.c demod_afsk.c demod_psk.c demod_9600.o fsk_demod_agc.h \
|
2015-07-27 01:17:23 +00:00
|
|
|
hdlc_rec.o hdlc_rec2.o multi_modem.o \
|
|
|
|
rrbb.o fcs_calc.o ax25_pad.o decode_aprs.o latlong.o symbols.o textcolor.o telemetry.o \
|
2016-07-03 22:09:34 +00:00
|
|
|
dwgpsnmea.o dwgps.o serial_port.o tt_text.o dtime_now.o regex.a misc.a
|
2015-07-27 00:35:07 +00:00
|
|
|
rm -f atest.exe
|
2015-07-27 01:17:23 +00:00
|
|
|
$(CC) $(CFLAGS) -o atest $^
|
2019-01-21 16:07:20 +00:00
|
|
|
./atest -P H+ -F 0 ../01_Track_1.wav ../02_Track_2.wav | grep "packets decoded in" >atest.out
|
2015-07-27 01:17:23 +00:00
|
|
|
echo " " > tune.h
|
2015-07-27 00:35:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
noisy3.wav : gen_packets
|
|
|
|
./gen_packets -B 300 -n 100 -o noisy3.wav
|
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
testagc3 : atest.c demod.c dsp.c demod_afsk.c demod_psk.c demod_9600.c hdlc_rec.c hdlc_rec2.c multi_modem.c \
|
2016-07-03 22:09:34 +00:00
|
|
|
rrbb.c fcs_calc.c ax25_pad.c decode_aprs.c latlong.c symbols.c textcolor.c telemetry.c dtime_now.o regex.a misc.a \
|
2015-07-27 00:35:07 +00:00
|
|
|
tune.h
|
2016-05-01 22:46:47 +00:00
|
|
|
rm -f atest3.exe
|
|
|
|
$(CC) $(CFLAGS) -o atest3 $^
|
|
|
|
./atest3 -B 300 -P D -D 3 noisy3.wav | grep "packets decoded in" >atest.out
|
2015-07-27 01:17:23 +00:00
|
|
|
echo " " > tune.h
|
2015-07-27 00:35:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
noisy96.wav : gen_packets
|
|
|
|
./gen_packets -B 9600 -n 100 -o noisy96.wav
|
|
|
|
|
2016-07-03 22:09:34 +00:00
|
|
|
testagc96 : atest.c fsk_fast_filter.h tune.h demod.c demod_afsk.c demod_psk.c demod_9600.c \
|
|
|
|
dsp.o hdlc_rec.o hdlc_rec2.o multi_modem.o \
|
|
|
|
rrbb.o fcs_calc.o ax25_pad.o decode_aprs.o \
|
|
|
|
dwgpsnmea.o dwgps.o serial_port.o latlong.o \
|
|
|
|
symbols.o tt_text.o textcolor.o telemetry.o dtime_now.o \
|
|
|
|
misc.a regex.a
|
|
|
|
rm -f atest96.exe
|
|
|
|
$(CC) $(CFLAGS) -o atest96 $^
|
2019-05-20 00:57:56 +00:00
|
|
|
./atest96 -B 9600 ../walkabout9600c.wav noisy96.wav zzz16.wav zzz16.wav zzz16.wav zzz8.wav zzz8.wav zzz8.wav | grep "packets decoded in" >atest.out
|
|
|
|
#./atest96 -B 9600 ../walkabout9600c.wav | grep "packets decoded in" >atest.out
|
2019-01-21 16:07:20 +00:00
|
|
|
#./atest96 -B 9600 zzz16.wav zzz8.wav | grep "packets decoded in" >atest.out
|
2016-07-03 22:09:34 +00:00
|
|
|
#./atest96 -B 9600 noisy96.wav | grep "packets decoded in" >atest.out
|
|
|
|
#./atest96 -B 9600 19990303_0225_9600_8bis_22kHz.wav | grep "packets decoded in" >atest.out
|
|
|
|
#./atest96 -B 9600 19990303_0225_9600_16bit_22kHz.wav | grep "packets decoded in" >atest.out
|
|
|
|
#./atest96 -B 9600 -P + z8-22k.wav| grep "packets decoded in" >atest.out
|
|
|
|
#./atest96 -B 9600 test9600.wav | grep "packets decoded in" >atest.out
|
2015-07-27 01:17:23 +00:00
|
|
|
echo " " > tune.h
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
testagc24 : atest.c fsk_fast_filter.h tune.h demod.c demod_afsk.c demod_psk.c demod_9600.c \
|
|
|
|
dsp.o hdlc_rec.o hdlc_rec2.o multi_modem.o \
|
|
|
|
rrbb.o fcs_calc.o ax25_pad.o decode_aprs.o \
|
|
|
|
dwgpsnmea.o dwgps.o serial_port.o latlong.o \
|
2016-07-03 22:09:34 +00:00
|
|
|
symbols.o tt_text.o textcolor.o telemetry.o dtime_now.o \
|
2016-05-01 22:46:47 +00:00
|
|
|
misc.a regex.a
|
|
|
|
rm -f atest24.exe
|
|
|
|
sleep 1
|
2019-05-20 00:57:56 +00:00
|
|
|
$(CC) $(CFLAGS) -o atest24mfj $^
|
2016-05-01 22:46:47 +00:00
|
|
|
./atest24 -B 2400 test2400.wav | grep "packets decoded in" >atest.out
|
|
|
|
echo " " > tune.h
|
|
|
|
|
2019-05-20 00:57:56 +00:00
|
|
|
testagc24mfj : atest.c fsk_fast_filter.h tune.h demod.c demod_afsk.c demod_psk.c demod_9600.c \
|
|
|
|
dsp.o hdlc_rec.o hdlc_rec2.o multi_modem.o \
|
|
|
|
rrbb.o fcs_calc.o ax25_pad.o decode_aprs.o \
|
|
|
|
dwgpsnmea.o dwgps.o serial_port.o latlong.o \
|
|
|
|
symbols.o tt_text.o textcolor.o telemetry.o dtime_now.o \
|
|
|
|
misc.a regex.a
|
|
|
|
rm -f atest24mfj.exe
|
|
|
|
sleep 1
|
|
|
|
$(CC) $(CFLAGS) -o atest24mfj $^
|
|
|
|
./atest24mfj -F 1 -B 2400 ../ref-doc/MFJ-2400-PSK/2k4_short.wav
|
|
|
|
echo " " > tune.h
|
|
|
|
|
2016-05-01 22:46:47 +00:00
|
|
|
testagc48 : atest.c fsk_fast_filter.h tune.h demod.c demod_afsk.c demod_psk.c demod_9600.c \
|
|
|
|
dsp.o hdlc_rec.o hdlc_rec2.o multi_modem.o \
|
|
|
|
rrbb.o fcs_calc.o ax25_pad.o decode_aprs.o \
|
|
|
|
dwgpsnmea.o dwgps.o serial_port.o latlong.o \
|
2016-07-03 22:09:34 +00:00
|
|
|
symbols.o tt_text.o textcolor.o telemetry.o dtime_now.o \
|
2016-05-01 22:46:47 +00:00
|
|
|
misc.a regex.a
|
|
|
|
rm -f atest48.exe
|
|
|
|
sleep 1
|
|
|
|
$(CC) $(CFLAGS) -o atest48 $^
|
|
|
|
./atest48 -B 4800 test4800.wav | grep "packets decoded in" >atest.out
|
|
|
|
#./atest48 -B 4800 test4800.wav
|
|
|
|
echo " " > tune.h
|
|
|
|
|
|
|
|
|
2015-07-27 00:35:07 +00:00
|
|
|
# Unit test for IGate
|
|
|
|
|
|
|
|
itest : igate.c textcolor.c ax25_pad.c fcs_calc.c misc.a regex.a
|
2015-07-27 01:17:23 +00:00
|
|
|
$(CC) $(CFLAGS) -DITEST -o $@ $^ -lwinmm -lws2_32
|
2015-07-27 00:35:07 +00:00
|
|
|
|
|
|
|
|
2015-07-27 01:05:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2015-07-27 00:35:07 +00:00
|
|
|
# Multiple AGWPE network or serial port clients to test TNCs side by side.
|
|
|
|
|
|
|
|
aclients : aclients.c ax25_pad.c fcs_calc.c textcolor.c misc.a regex.a
|
2015-07-27 01:17:23 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ $^ -lwinmm -lws2_32
|
2015-07-27 00:35:07 +00:00
|
|
|
|
|
|
|
|
2017-09-12 01:53:38 +00:00
|
|
|
# Talk to a KISS TNC.
|
|
|
|
|
|
|
|
# Note: kiss_frame.c has conditional compilation on KISSUTIL.
|
|
|
|
|
2019-01-21 16:07:20 +00:00
|
|
|
kissutil : kissutil.c kiss_frame.c ax25_pad.o fcs_calc.o textcolor.o serial_port.o dwsock.o dtime_now.o misc.a regex.a
|
2017-09-12 01:53:38 +00:00
|
|
|
$(CC) $(CFLAGS) -DKISSUTIL -o $@ $^ -lwinmm -lws2_32
|
|
|
|
|
|
|
|
|
2019-01-21 16:07:20 +00:00
|
|
|
mqtest : aprsmsg.c kiss_frame.c encode_aprs.o ax25_pad.o fcs_calc.o textcolor.o serial_port.o dwsock.o dtime_now.o latlong.o misc.a regex.a
|
|
|
|
$(CC) $(CFLAGS) -DMQTEST -DKISSUTIL -o $@ $^ -lwinmm -lws2_32
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-07-27 01:17:23 +00:00
|
|
|
# Touch Tone to Speech sample application.
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2015-07-27 01:17:23 +00:00
|
|
|
ttcalc : ttcalc.o ax25_pad.o fcs_calc.o textcolor.o misc.a regex.a
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^ -lwinmm -lws2_32
|
2015-07-27 00:35:07 +00:00
|
|
|
|
|
|
|
|
2015-09-07 23:56:20 +00:00
|
|
|
# Send GPS location to KISS TNC each second.
|
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
walk96 : walk96.c dwgps.o dwgpsnmea.o kiss_frame.o \
|
2015-09-07 23:56:20 +00:00
|
|
|
latlong.o encode_aprs.o serial_port.o textcolor.o \
|
2015-11-08 01:57:02 +00:00
|
|
|
ax25_pad.o fcs_calc.o \
|
|
|
|
xmit.o hdlc_send.o gen_tone.o ptt.o tq.o \
|
|
|
|
hdlc_rec.o hdlc_rec2.o rrbb.o dsp.o audio_win.o \
|
2016-05-01 22:46:47 +00:00
|
|
|
multi_modem.o demod.o demod_afsk.o demod_psk.c demod_9600.o rdq.o \
|
2017-01-01 16:49:55 +00:00
|
|
|
server.o morse.o dtmf.o audio_stats.o dtime_now.o dlq.o \
|
2015-11-08 01:57:02 +00:00
|
|
|
regex.a misc.a
|
2015-09-07 23:56:20 +00:00
|
|
|
$(CC) $(CFLAGS) -DWALK96 -o $@ $^ -lwinmm -lws2_32
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-01-21 16:07:20 +00:00
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
#--------------------------------------------------------------
|
|
|
|
|
2015-07-27 01:17:23 +00:00
|
|
|
|
|
|
|
.PHONY: depend
|
|
|
|
depend : $(wildcard *.c)
|
|
|
|
makedepend -f $(lastword $(MAKEFILE_LIST)) -- $(CFLAGS) -- $^
|
|
|
|
|
|
|
|
.PHONY: clean
|
2015-07-27 00:35:07 +00:00
|
|
|
clean :
|
|
|
|
rm -f *.o *.a *.exe fsk_fast_filter.h noisy96.wav
|
|
|
|
echo " " > tune.h
|
|
|
|
|
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
|
|
|
|
# ------------------------------- Packaging for distribution ----------------------
|
|
|
|
|
|
|
|
# Name of zip file for distribution.
|
|
|
|
|
|
|
|
z := $(notdir ${CURDIR})
|
2015-07-27 00:35:07 +00:00
|
|
|
|
|
|
|
|
2015-07-27 01:17:23 +00:00
|
|
|
.PHONY: dist-win
|
|
|
|
dist-win : direwolf.exe decode_aprs.exe text2tt.exe tt2text.exe ll2utm.exe utm2ll.exe \
|
2018-01-07 20:58:04 +00:00
|
|
|
aclients.exe log2gpx.exe gen_packets.exe atest.exe ttcalc.exe kissutil.exe \
|
2015-09-07 23:56:20 +00:00
|
|
|
generic.conf dwespeak.bat \
|
|
|
|
README.md CHANGES.md \
|
|
|
|
doc/User-Guide.pdf \
|
|
|
|
doc/Raspberry-Pi-APRS.pdf \
|
|
|
|
doc/APRStt-Implementation-Notes.pdf
|
2015-07-27 00:35:07 +00:00
|
|
|
rm -f ../$z-win.zip
|
2015-09-07 23:56:20 +00:00
|
|
|
egrep '^C|^W' generic.conf | cut -c2-999 > direwolf.conf
|
2015-07-27 01:17:23 +00:00
|
|
|
unix2dos direwolf.conf
|
2017-05-03 21:41:37 +00:00
|
|
|
cp doc/README.md README-doc.md
|
2015-09-07 23:56:20 +00:00
|
|
|
zip --junk-paths ../$z-win.zip \
|
|
|
|
README.md \
|
|
|
|
CHANGES.md \
|
2017-05-03 21:41:37 +00:00
|
|
|
README-doc.md \
|
|
|
|
doc/2400-4800-PSK-for-APRS-Packet-Radio.pdf \
|
2015-12-31 02:49:13 +00:00
|
|
|
doc/A-Better-APRS-Packet-Demodulator-Part-1-1200-baud.pdf \
|
|
|
|
doc/A-Better-APRS-Packet-Demodulator-Part-2-9600-baud.pdf \
|
2017-05-03 21:41:37 +00:00
|
|
|
doc/A-Closer-Look-at-the-WA8LMF-TNC-Test-CD.pdf \
|
2015-09-07 23:56:20 +00:00
|
|
|
doc/APRS-Telemetry-Toolkit.pdf \
|
2015-12-31 02:49:13 +00:00
|
|
|
doc/APRStt-Implementation-Notes.pdf \
|
|
|
|
doc/APRStt-interface-for-SARTrack.pdf \
|
|
|
|
doc/APRStt-Listening-Example.pdf \
|
2017-05-03 21:41:37 +00:00
|
|
|
doc/Bluetooth-KISS-TNC.pdf \
|
|
|
|
doc/Going-beyond-9600-baud.pdf \
|
2015-12-31 02:49:13 +00:00
|
|
|
doc/Raspberry-Pi-APRS.pdf \
|
|
|
|
doc/Raspberry-Pi-APRS-Tracker.pdf \
|
|
|
|
doc/Raspberry-Pi-SDR-IGate.pdf \
|
2017-05-03 21:41:37 +00:00
|
|
|
doc/Successful-APRS-IGate-Operation.pdf \
|
2015-12-31 02:49:13 +00:00
|
|
|
doc/User-Guide.pdf \
|
|
|
|
doc/WA8LMF-TNC-Test-CD-Results.pdf \
|
2015-07-27 01:17:23 +00:00
|
|
|
LICENSE* \
|
|
|
|
direwolf.conf \
|
|
|
|
direwolf.exe \
|
|
|
|
decode_aprs.exe \
|
|
|
|
tocalls.txt symbols-new.txt symbolsX.txt \
|
|
|
|
text2tt.exe tt2text.exe \
|
|
|
|
ll2utm.exe utm2ll.exe \
|
|
|
|
aclients.exe \
|
|
|
|
log2gpx.exe \
|
|
|
|
gen_packets.exe \
|
|
|
|
atest.exe \
|
|
|
|
ttcalc.exe \
|
2017-09-12 01:53:38 +00:00
|
|
|
kissutil.exe \
|
2015-09-07 23:56:20 +00:00
|
|
|
dwespeak.bat \
|
|
|
|
telemetry-toolkit/*
|
2017-05-03 21:41:37 +00:00
|
|
|
rm README-doc.md
|
2015-07-27 01:17:23 +00:00
|
|
|
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2015-11-08 01:57:02 +00:00
|
|
|
# Reminders if pdf files are not up to date.
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2015-09-07 23:56:20 +00:00
|
|
|
doc/User-Guide.pdf : doc/User-Guide.docx
|
2015-07-27 00:35:07 +00:00
|
|
|
echo "***** User-Guide.pdf is out of date *****"
|
|
|
|
|
2015-09-07 23:56:20 +00:00
|
|
|
doc/Raspberry-Pi-APRS.pdf : doc/Raspberry-Pi-APRS.docx
|
2015-07-27 00:35:07 +00:00
|
|
|
echo "***** Raspberry-Pi-APRS.pdf is out of date *****"
|
|
|
|
|
2015-09-07 23:56:20 +00:00
|
|
|
doc/Raspberry-Pi-APRS-Tracker.pdf : doc/Raspberry-Pi-APRS-Tracker.docx
|
2015-07-27 01:05:48 +00:00
|
|
|
echo "***** Raspberry-Pi-APRS-Tracker.pdf is out of date *****"
|
|
|
|
|
2015-09-07 23:56:20 +00:00
|
|
|
doc/APRStt-Implementation-Notes.pdf : doc/APRStt-Implementation-Notes.docx
|
2015-07-27 00:35:07 +00:00
|
|
|
echo "***** APRStt-Implementation-Notes.pdf is out of date *****"
|
|
|
|
|
2015-09-07 23:56:20 +00:00
|
|
|
doc/A-Better-APRS-Packet-Demodulator-Part-1-1200-baud.pdf : doc/A-Better-APRS-Packet-Demodulator-Part-1-1200-baud.docx
|
2015-07-27 01:17:23 +00:00
|
|
|
echo "***** A-Better-APRS-Packet-Demodulator-Part-1-1200-baud.pdf is out of date *****"
|
|
|
|
|
2015-09-07 23:56:20 +00:00
|
|
|
doc/A-Better-APRS-Packet-Demodulator-Part-2-9600-baud.pdf : doc/A-Better-APRS-Packet-Demodulator-Part-2-9600-baud.docx
|
2015-07-27 01:17:23 +00:00
|
|
|
echo "***** A-Better-APRS-Packet-Demodulator-Part-2-9600-baud.pdf is out of date *****"
|
2015-07-27 00:35:07 +00:00
|
|
|
|
2015-09-07 23:56:20 +00:00
|
|
|
doc/APRS-Telemetry-Toolkit.pdf : doc/APRS-Telemetry-Toolkit.docx
|
|
|
|
echo "***** APRS-Telemetry-Toolkit.pdf is out of date *****"
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-07-27 01:17:23 +00:00
|
|
|
.PHONY: backup
|
2015-07-27 00:35:07 +00:00
|
|
|
backup :
|
|
|
|
mkdir /cygdrive/e/backup-cygwin-home/`date +"%Y-%m-%d"`
|
|
|
|
cp -r . /cygdrive/e/backup-cygwin-home/`date +"%Y-%m-%d"`
|
|
|
|
|
2015-07-27 01:05:48 +00:00
|
|
|
|
2015-07-27 00:35:07 +00:00
|
|
|
#
|
|
|
|
# The following is updated by "make depend"
|
|
|
|
#
|
|
|
|
# DO NOT DELETE
|
|
|
|
|
2017-05-03 21:41:37 +00:00
|
|
|
|