view mncc/Makefile @ 245:5141e21596bb

themwi-test-mtc: fix ancient bug in From number setting
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Aug 2023 22:23:27 -0800
parents 59a166c50d0e
children cdc807117841
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=/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