comparison 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
comparison
equal deleted inserted replaced
435:9f354d2aea13 436:e80632ccb745
8 INSTBIN=/opt/freecalypso/bin 8 INSTBIN=/opt/freecalypso/bin
9 9
10 all: ${PROGS} 10 all: ${PROGS}
11 11
12 gsmfr-cod2std: cod2std.o ${LIBFR2} 12 gsmfr-cod2std: cod2std.o ${LIBFR2}
13 ${CC} ${CFLAGS} -o $@ cod2std.o ${LIBFR2} 13 ${CC} ${CFLAGS} -o $@ $^
14 14
15 gsmfr-decode: decode.o ${LIBTEST} ${LIBFR2} 15 gsmfr-decode: decode.o ${LIBTEST} ${LIBFR2}
16 ${CC} ${CFLAGS} -o $@ decode.o ${LIBTEST} ${LIBFR2} 16 ${CC} ${CFLAGS} -o $@ $^
17 17
18 gsmfr-decode-r: decode-r.o ${LIBTEST} ${LIBFR2} 18 gsmfr-decode-r: decode-r.o ${LIBTEST} ${LIBFR2}
19 ${CC} ${CFLAGS} -o $@ decode-r.o ${LIBTEST} ${LIBFR2} 19 ${CC} ${CFLAGS} -o $@ $^
20 20
21 gsmfr-decode-rb: decode-rb.o ${LIBTEST} ${LIBFR2} 21 gsmfr-decode-rb: decode-rb.o ${LIBTEST} ${LIBFR2}
22 ${CC} ${CFLAGS} -o $@ decode-rb.o ${LIBTEST} ${LIBFR2} 22 ${CC} ${CFLAGS} -o $@ $^
23 23
24 gsmfr-dlcap-gsmx: dlcap-gsmx.o tidsp.o ${LIBTEST} 24 gsmfr-dlcap-gsmx: dlcap-gsmx.o tidsp.o ${LIBTEST}
25 ${CC} ${CFLAGS} -o $@ dlcap-gsmx.o tidsp.o ${LIBTEST} 25 ${CC} ${CFLAGS} -o $@ $^
26 26
27 gsmfr-dlcap-parse: dlcap-parse.o tidsp.o ${LIBTEST} ${LIBFR2} 27 gsmfr-dlcap-parse: dlcap-parse.o tidsp.o ${LIBTEST} ${LIBFR2}
28 ${CC} ${CFLAGS} -o $@ dlcap-parse.o tidsp.o ${LIBTEST} ${LIBFR2} 28 ${CC} ${CFLAGS} -o $@ $^
29 29
30 gsmfr-encode: encode.o ${LIBTEST} ${LIBFR2} 30 gsmfr-encode: encode.o ${LIBTEST} ${LIBFR2}
31 ${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} ${LIBFR2} 31 ${CC} ${CFLAGS} -o $@ $^
32 32
33 gsmfr-encode-r: encode-r.o ${LIBTEST} ${LIBFR2} 33 gsmfr-encode-r: encode-r.o ${LIBTEST} ${LIBFR2}
34 ${CC} ${CFLAGS} -o $@ encode-r.o ${LIBTEST} ${LIBFR2} 34 ${CC} ${CFLAGS} -o $@ $^
35 35
36 gsmfr-preproc: preproc.o ${LIBTEST} ${LIBFR2} 36 gsmfr-preproc: preproc.o ${LIBTEST} ${LIBFR2}
37 ${CC} ${CFLAGS} -o $@ preproc.o ${LIBTEST} ${LIBFR2} 37 ${CC} ${CFLAGS} -o $@ $^
38 38
39 install: 39 install:
40 mkdir -p ${INSTBIN} 40 mkdir -p ${INSTBIN}
41 install -c ${PROGS} ${INSTBIN} 41 install -c ${PROGS} ${INSTBIN}
42 42