view mncc/Makefile @ 12:047bb5a91709

add README
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 09 Jun 2024 05:00:35 +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