view smpp-trx-sa/Makefile @ 256:63252528a56c

sip-out: add CDR log line
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 15 Aug 2023 10:11:51 -0800
parents 9d6e8d99d2b1
children 1bf989f60aa3
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	smpp-trx-sa
OBJS=	localsock.o log.o main.o pdu_out.o tcpconn.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