view mncc/Makefile @ 11:aa2ba9b432af

mtctest: implement play and play-stop commands
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 09 Jun 2024 04:32:57 +0000
parents 847690ea7f4a
children
line wrap: on
line source

CPPFLAGS=-I${includedir}
PROG=	themwi-mncc
OBJS=	call_setup.o extsock.o gsm_call.o intswitch.o main.o mncc_recv.o \
	mncc_sock.o mtsock.o outcall.o
LIBUTIL=../libutil/libutil.a

include ../config.defs

all:	${PROG}

${PROG}: ${OBJS} ${LIBUTIL}
	${CC} -o $@ ${OBJS} ${LIBUTIL} -L${libdir} -lnumdb -lnumutil

install:
	mkdir -p ${DESTDIR}${bindir}
	install -c -m 755 ${PROG} ${DESTDIR}${bindir}

clean:
	rm -f *.o ${PROG} errs