FreeCalypso > hg > gsm-codec-lib
comparison frtest/Makefile @ 460:cb1d1ea7f2c5
new build system: accept more directory options
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 10 May 2024 23:04:44 +0000 |
| parents | 19f1aa01ea10 |
| children | 285381a001fc |
comparison
equal
deleted
inserted
replaced
| 459:b094bc07051a | 460:cb1d1ea7f2c5 |
|---|---|
| 3 gsmfr-preproc | 3 gsmfr-preproc |
| 4 LIBFR2= ../libgsmfr2/libgsmfr2.a | 4 LIBFR2= ../libgsmfr2/libgsmfr2.a |
| 5 LIBTEST=../libtest/libtest.a | 5 LIBTEST=../libtest/libtest.a |
| 6 | 6 |
| 7 include ../config.defs | 7 include ../config.defs |
| 8 INSTBIN=${DESTDIR}${PREFIX}/bin | |
| 9 | 8 |
| 10 all: ${PROGS} | 9 all: ${PROGS} |
| 11 | 10 |
| 12 gsmfr-cod2std: cod2std.o ${LIBFR2} | 11 gsmfr-cod2std: cod2std.o ${LIBFR2} |
| 13 ${CC} ${CFLAGS} -o $@ $^ | 12 ${CC} ${CFLAGS} -o $@ $^ |
| 35 | 34 |
| 36 gsmfr-preproc: preproc.o ${LIBTEST} ${LIBFR2} | 35 gsmfr-preproc: preproc.o ${LIBTEST} ${LIBFR2} |
| 37 ${CC} ${CFLAGS} -o $@ $^ | 36 ${CC} ${CFLAGS} -o $@ $^ |
| 38 | 37 |
| 39 install: | 38 install: |
| 40 mkdir -p ${INSTBIN} | 39 mkdir -p ${DESTDIR}${bindir} |
| 41 install -c ${PROGS} ${INSTBIN} | 40 install -c ${PROGS} ${DESTDIR}${bindir} |
| 42 | 41 |
| 43 clean: | 42 clean: |
| 44 rm -f *.o *.out ${PROGS} | 43 rm -f *.o *.out ${PROGS} |
