diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mncc/Makefile	Sat Jun 08 23:55:06 2024 +0000
@@ -0,0 +1,19 @@
+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