diff frtest/Makefile @ 436:e80632ccb745

simplify test program Makefiles
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 08 May 2024 05:32:27 +0000
parents e0d42e87da96
children 19f1aa01ea10
line wrap: on
line diff
--- a/frtest/Makefile	Wed May 08 05:25:47 2024 +0000
+++ b/frtest/Makefile	Wed May 08 05:32:27 2024 +0000
@@ -10,31 +10,31 @@
 all:	${PROGS}
 
 gsmfr-cod2std:	cod2std.o ${LIBFR2}
-	${CC} ${CFLAGS} -o $@ cod2std.o ${LIBFR2}
+	${CC} ${CFLAGS} -o $@ $^
 
 gsmfr-decode:	decode.o ${LIBTEST} ${LIBFR2}
-	${CC} ${CFLAGS} -o $@ decode.o ${LIBTEST} ${LIBFR2}
+	${CC} ${CFLAGS} -o $@ $^
 
 gsmfr-decode-r:	decode-r.o ${LIBTEST} ${LIBFR2}
-	${CC} ${CFLAGS} -o $@ decode-r.o ${LIBTEST} ${LIBFR2}
+	${CC} ${CFLAGS} -o $@ $^
 
 gsmfr-decode-rb:	decode-rb.o ${LIBTEST} ${LIBFR2}
-	${CC} ${CFLAGS} -o $@ decode-rb.o ${LIBTEST} ${LIBFR2}
+	${CC} ${CFLAGS} -o $@ $^
 
 gsmfr-dlcap-gsmx:	dlcap-gsmx.o tidsp.o ${LIBTEST}
-	${CC} ${CFLAGS} -o $@ dlcap-gsmx.o tidsp.o ${LIBTEST}
+	${CC} ${CFLAGS} -o $@ $^
 
 gsmfr-dlcap-parse:	dlcap-parse.o tidsp.o ${LIBTEST} ${LIBFR2}
-	${CC} ${CFLAGS} -o $@ dlcap-parse.o tidsp.o ${LIBTEST} ${LIBFR2}
+	${CC} ${CFLAGS} -o $@ $^
 
 gsmfr-encode:	encode.o ${LIBTEST} ${LIBFR2}
-	${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} ${LIBFR2}
+	${CC} ${CFLAGS} -o $@ $^
 
 gsmfr-encode-r:	encode-r.o ${LIBTEST} ${LIBFR2}
-	${CC} ${CFLAGS} -o $@ encode-r.o ${LIBTEST} ${LIBFR2}
+	${CC} ${CFLAGS} -o $@ $^
 
 gsmfr-preproc:	preproc.o ${LIBTEST} ${LIBFR2}
-	${CC} ${CFLAGS} -o $@ preproc.o ${LIBTEST} ${LIBFR2}
+	${CC} ${CFLAGS} -o $@ $^
 
 install:
 	mkdir -p ${INSTBIN}