view rtp-mgr/Makefile @ 179:b79d6334f543

themwi-rtp-mgr: RTP port allocation split out of themwi-mgw
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Mar 2023 20:19:14 -0800
parents mgw/Makefile@c985c33baeac
children cdc807117841
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	themwi-rtp-mgr
OBJS=	alloc.o ctrl_prot.o ctrl_sock.o main.o readconf.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