view smpp-trx-sa/Makefile @ 236:38cac1cbe010

libnumdb2: port check_short.c
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Aug 2023 14:16:07 -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