FreeCalypso > hg > themwi-system-sw
comparison mgw/Makefile @ 264:cdc807117841
*/Makefile: change INSTBIN to /opt/themwi/bin (was /usr/local/bin)
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sun, 05 Nov 2023 16:07:14 -0800 |
| parents | c985c33baeac |
| children |
comparison
equal
deleted
inserted
replaced
| 263:1bf989f60aa3 | 264:cdc807117841 |
|---|---|
| 3 PROG= themwi-mgw | 3 PROG= themwi-mgw |
| 4 OBJS= crcx.o ctrl_prot.o ctrl_sock.o dlcx.o dtmf_ctrl.o dtmf_init.o \ | 4 OBJS= crcx.o ctrl_prot.o ctrl_sock.o dlcx.o dtmf_ctrl.o dtmf_init.o \ |
| 5 dtmf_table.o g711_decode.o g711_encode.o gsm2pstn.o main.o mdcx.o \ | 5 dtmf_table.o g711_decode.o g711_encode.o gsm2pstn.o main.o mdcx.o \ |
| 6 pstn2gsm.o readconf.o udpsink.o | 6 pstn2gsm.o readconf.o udpsink.o |
| 7 LIBS= ../libutil/libutil.a | 7 LIBS= ../libutil/libutil.a |
| 8 INSTBIN=/usr/local/bin | 8 INSTBIN=/opt/themwi/bin |
| 9 | 9 |
| 10 all: ${PROG} | 10 all: ${PROG} |
| 11 | 11 |
| 12 ${PROG}: ${OBJS} ${LIBS} | 12 ${PROG}: ${OBJS} ${LIBS} |
| 13 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lgsmefr -lgsmfrp -lgsm -lm | 13 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lgsmefr -lgsmfrp -lgsm -lm |
| 14 | 14 |
| 15 install: | 15 install: |
| 16 install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN} | 16 install -c -m 755 ${PROG} ${INSTBIN} |
| 17 | 17 |
| 18 clean: | 18 clean: |
| 19 rm -f *.o ${PROG} errs | 19 rm -f *.o ${PROG} errs |
