view smpp-trx-sa/Makefile @ 261:a375639e4190

smpp-trx-sa: refactor time formatting code
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 11 Oct 2023 17:34:45 -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