view smpp-trx-sa/Makefile @ 263:1bf989f60aa3

smpp-trx-sa: log times of enquire_link packets
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 11 Oct 2023 21:22:32 -0800
parents 9d6e8d99d2b1
children cdc807117841
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	smpp-trx-sa
OBJS=	enq_link_stat.o 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