comparison smpp-send/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 243ed87880a1
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-send 3 PROG= smpp-send
4 OBJS= build_pdu.o hexdump.o input.o main.o msg_cmd.o settings.o sock_send.o 4 OBJS= build_pdu.o hexdump.o input.o main.o msg_cmd.o settings.o sock_send.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