view mncc/Makefile @ 3:847690ea7f4a

mncc compiles in new environment
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 08 Jun 2024 23:55:06 +0000
parents
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