view sip-manual-out/Makefile @ 149:cfc249906145

mgw/ctrl_sock.c: #include <sys/stat.h> per chmod(2) man page
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Oct 2022 13:48:39 -0800
parents b51247739897
children 258932879f8b
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	sip-manual-out
OBJS=	bye_in.o disc_cmd.o dummy_rtp.o main.o readconf.o reinvite.o sip_log.o \
	sip_udp.o uac.o uas.o
LIBS=	../libsip/libsip.a ../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