view smpp-send/Makefile @ 244:db366c3b35f7

top Makefile: mncc changed to use libnumdb2
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Aug 2023 19:14:08 -0800
parents 243ed87880a1
children cdc807117841
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	smpp-send
OBJS=	build_pdu.o hexdump.o input.o main.o msg_cmd.o settings.o sock_send.o
LIBS=	../libutil/libutil.a
INSTBIN=/usr/local/bin

all:	${PROG}

${PROG}: ${OBJS} ${LIBS}
	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}

install:
	install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN}

clean:
	rm -f *.o ${PROG} errs