view smpp-trx-sa/Makefile @ 243:59a166c50d0e

themwi-mncc: convert to libnumdb2
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Aug 2023 19:13:26 -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