view mncc/Makefile @ 266:556cd78f750a

sip-out: require explicit routes to made-up N9X area codes
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 13 Nov 2023 15:18:09 -0800
parents cdc807117841
children
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=	../libnumdb2/libnumdb.a ../libutil/libutil.a
INSTBIN=/opt/themwi/bin

all:	${PROG}

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

install:
	install -c -m 755 ${PROG} ${INSTBIN}

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