comparison mncc/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 59a166c50d0e
children
comparison
equal deleted inserted replaced
263:1bf989f60aa3 264:cdc807117841
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROG= themwi-mncc 3 PROG= themwi-mncc
4 OBJS= call_setup.o extsock.o gsm_call.o intswitch.o main.o mncc_recv.o \ 4 OBJS= call_setup.o extsock.o gsm_call.o intswitch.o main.o mncc_recv.o \
5 mncc_sock.o mtsock.o outcall.o 5 mncc_sock.o mtsock.o outcall.o
6 LIBS= ../libnumdb2/libnumdb.a ../libutil/libutil.a 6 LIBS= ../libnumdb2/libnumdb.a ../libutil/libutil.a
7 INSTBIN=/usr/local/bin 7 INSTBIN=/opt/themwi/bin
8 8
9 all: ${PROG} 9 all: ${PROG}
10 10
11 ${PROG}: ${OBJS} ${LIBS} 11 ${PROG}: ${OBJS} ${LIBS}
12 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} 12 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
13 13
14 install: 14 install:
15 install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN} 15 install -c -m 755 ${PROG} ${INSTBIN}
16 16
17 clean: 17 clean:
18 rm -f *.o ${PROG} errs 18 rm -f *.o ${PROG} errs