diff miscprog/Makefile @ 382:4307b57229d3

miscprog: tone-convert written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 10 Nov 2021 00:04:12 +0000
parents f233f0a012c9
children
line wrap: on
line diff
--- a/miscprog/Makefile	Tue Nov 09 18:49:09 2021 +0000
+++ b/miscprog/Makefile	Wed Nov 10 00:04:12 2021 +0000
@@ -4,7 +4,8 @@
 	memwrite-grep mokosrec2bin osmo2psi pirbattextr pircalextr pircksum \
 	pircksum2 rfcap-grep
 CRYPTO=	imeibrute pirimei
-PROGS=	${STD} ${CRYPTO}
+MATH=	tone-convert
+PROGS=	${STD} ${CRYPTO} ${MATH}
 
 all:	${PROGS}
 
@@ -14,6 +15,9 @@
 ${CRYPTO}:
 	${CC} ${CFLAGS} -o $@ $@.c -lcrypto
 
+${MATH}:
+	${CC} ${CFLAGS} -o $@ $@.c -lm
+
 atsc:		atsc.c
 calextract:	calextract.c
 cinitdump:	cinitdump.c
@@ -31,6 +35,7 @@
 pircksum2:	pircksum2.c
 pirimei:	pirimei.c
 rfcap-grep:	rfcap-grep.c
+tone-convert:	tone-convert.c
 
 clean:
 	rm -f ${PROGS} *.o *errs *.out