diff amrtest/Makefile @ 436:e80632ccb745

simplify test program Makefiles
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 08 May 2024 05:32:27 +0000
parents edbbbf1c4ab1
children 526a7f0e027d
line wrap: on
line diff
--- a/amrtest/Makefile	Wed May 08 05:25:47 2024 +0000
+++ b/amrtest/Makefile	Wed May 08 05:32:27 2024 +0000
@@ -7,10 +7,10 @@
 all:	${PROGS}
 
 twamr-tseq-dec:	tseq-dec.o ${LIBAMR}
-	${CC} ${CFLAGS} -o $@ tseq-dec.o ${LIBAMR}
+	${CC} ${CFLAGS} -o $@ $^
 
 twamr-tseq-enc:	mode_file.o mode_kw.o tseq-enc.o ${LIBAMR}
-	${CC} ${CFLAGS} -o $@ mode_file.o mode_kw.o tseq-enc.o ${LIBAMR}
+	${CC} ${CFLAGS} -o $@ $^
 
 install:
 	mkdir -p ${INSTBIN}