comparison 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
comparison
equal deleted inserted replaced
2:053f04687106 3:847690ea7f4a
1 CPPFLAGS=-I${includedir}
2 PROG= themwi-mncc
3 OBJS= call_setup.o extsock.o gsm_call.o intswitch.o main.o mncc_recv.o \
4 mncc_sock.o mtsock.o outcall.o
5 LIBUTIL=../libutil/libutil.a
6
7 include ../config.defs
8
9 all: ${PROG}
10
11 ${PROG}: ${OBJS} ${LIBUTIL}
12 ${CC} -o $@ ${OBJS} ${LIBUTIL} -L${libdir} -lnumdb -lnumutil
13
14 install:
15 mkdir -p ${DESTDIR}${bindir}
16 install -c -m 755 ${PROG} ${DESTDIR}${bindir}
17
18 clean:
19 rm -f *.o ${PROG} errs