view mncc/Makefile @ 184:f8c40090a0a8

librtpalloc: new library for talking to themwi-rtp-mgr
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Mar 2023 23:48:14 -0800
parents 2ebad02adbe5
children 59a166c50d0e
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
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
LIBS=	../libnumdb/libnumdb.a ../libutil/libutil.a
INSTBIN=/usr/local/bin

all:	${PROG}

${PROG}: ${OBJS} ${LIBS}
	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}

install:
	install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN}

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