comparison mtctest/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 74dae755f85a
children
comparison
equal deleted inserted replaced
263:1bf989f60aa3 264:cdc807117841
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROG= themwi-test-mtc 3 PROG= themwi-test-mtc
4 OBJS= disconnect.o dummy_rtp.o main.o setup.o sig_handler.o sock_conn.o 4 OBJS= disconnect.o dummy_rtp.o main.o setup.o sig_handler.o sock_conn.o
5 LIBS= ../libnumdb2/libnumdb.a ../libutil/libutil.a 5 LIBS= ../libnumdb2/libnumdb.a ../libutil/libutil.a
6 INSTBIN=/usr/local/bin 6 INSTBIN=/opt/themwi/bin
7 7
8 all: ${PROG} 8 all: ${PROG}
9 9
10 ${PROG}: ${OBJS} ${LIBS} 10 ${PROG}: ${OBJS} ${LIBS}
11 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} 11 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
12 12
13 install: 13 install:
14 install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN} 14 install -c -m 755 ${PROG} ${INSTBIN}
15 15
16 clean: 16 clean:
17 rm -f *.o ${PROG} errs 17 rm -f *.o ${PROG} errs