comparison mgw/Makefile @ 95:f280328e7e2e

themwi-mgw: initial implementation of PSTN to GSM forwarding
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Sep 2022 19:17:44 -0800
parents b3f74df7b808
children ca21fbf9d2ea
comparison
equal deleted inserted replaced
94:2c22b40408fb 95:f280328e7e2e
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROG= themwi-mgw 3 PROG= themwi-mgw
4 OBJS= crcx.o ctrl_prot.o ctrl_sock.o dlcx.o main.o mdcx.o readconf.o udpsink.o 4 OBJS= crcx.o ctrl_prot.o ctrl_sock.o dlcx.o g711_decode.o main.o mdcx.o \
5 pstn2gsm.o readconf.o udpsink.o
5 LIBS= ../libutil/libutil.a 6 LIBS= ../libutil/libutil.a
6 INSTBIN=/usr/local/bin 7 INSTBIN=/usr/local/bin
7 8
8 all: ${PROG} 9 all: ${PROG}
9 10
10 ${PROG}: ${OBJS} ${LIBS} 11 ${PROG}: ${OBJS} ${LIBS}
11 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} 12 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lgsm
12 13
13 install: 14 install:
14 install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN} 15 install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN}
15 16
16 clean: 17 clean: