FreeCalypso > hg > sipout-test-utils
diff test-voice/Makefile @ 18:f7321b25195e default tip
new build system for ThemWi sw components
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 14 May 2024 18:08:35 -0800 |
parents | 4f81b959a5f5 |
children |
line wrap: on
line diff
--- a/test-voice/Makefile Mon May 13 22:31:24 2024 -0800 +++ b/test-voice/Makefile Tue May 14 18:08:35 2024 -0800 @@ -1,10 +1,9 @@ -CC= gcc -CFLAGS= -O2 PROG= sipout-test-voice OBJS= bye_in.o disc_cmd.o main.o pcmu_catcher.o readconf.o reinvite.o \ rtp_rx.o rtp_tx.o sdp_in.o sip_log.o sip_udp.o uac.o uas.o user_cmd.o LIBS= ../libsip/libsip.a ../librtpalloc/librtpalloc.a ../libutil/libutil.a -INSTBIN=/opt/themwi/bin + +include ../config.defs all: ${PROG} @@ -12,7 +11,8 @@ ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} install: - install -c -m 755 ${PROG} ${INSTBIN} + mkdir -p ${DESTDIR}${bindir} + install -c -m 755 ${PROG} ${DESTDIR}${bindir} clean: rm -f *.o ${PROG} errs