FreeCalypso > hg > themwi-system-sw
comparison mgw/Makefile @ 126:815e4c59162e
mgw DTMF: tone definitions and sample array generation
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sat, 01 Oct 2022 17:09:51 -0800 |
| parents | 3b3f07b112f3 |
| children | f062c32a5116 |
comparison
equal
deleted
inserted
replaced
| 125:5081f2bc6f1c | 126:815e4c59162e |
|---|---|
| 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 g711_decode.o g711_encode.o \ | 4 OBJS= crcx.o ctrl_prot.o ctrl_sock.o dlcx.o dtmf_init.o dtmf_table.o \ |
| 5 gsm2pstn.o main.o mdcx.o pstn2gsm.o readconf.o udpsink.o | 5 g711_decode.o g711_encode.o gsm2pstn.o main.o mdcx.o pstn2gsm.o \ |
| 6 readconf.o udpsink.o | |
| 6 LIBS= ../libutil/libutil.a | 7 LIBS= ../libutil/libutil.a |
| 7 INSTBIN=/usr/local/bin | 8 INSTBIN=/usr/local/bin |
| 8 | 9 |
| 9 all: ${PROG} | 10 all: ${PROG} |
| 10 | 11 |
| 11 ${PROG}: ${OBJS} ${LIBS} | 12 ${PROG}: ${OBJS} ${LIBS} |
| 12 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lgsm | 13 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lgsm -lm |
| 13 | 14 |
| 14 install: | 15 install: |
| 15 install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN} | 16 install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN} |
| 16 | 17 |
| 17 clean: | 18 clean: |
