comparison rtp-mgr/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 b79d6334f543
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-rtp-mgr 3 PROG= themwi-rtp-mgr
4 OBJS= alloc.o ctrl_prot.o ctrl_sock.o main.o readconf.o 4 OBJS= alloc.o ctrl_prot.o ctrl_sock.o main.o readconf.o
5 LIBS= ../libutil/libutil.a 5 LIBS= ../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