comparison smpp-trx-sa/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 1bf989f60aa3
children
comparison
equal deleted inserted replaced
263:1bf989f60aa3 264:cdc807117841
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROG= smpp-trx-sa 3 PROG= smpp-trx-sa
4 OBJS= enq_link_stat.o localsock.o log.o main.o pdu_out.o tcpconn.o 4 OBJS= enq_link_stat.o localsock.o log.o main.o pdu_out.o tcpconn.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