view mncc/Makefile @ 35:db7ed6a55ba4

themwi-{mgw,mncc}: chmod connection-accepting sockets to 775 I am making this change in order to be able to run themwi-test-mtc as my regular user, without having to su or sudo to gsmserv.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Jul 2022 23:29:54 -0800
parents ccc5ab6d8388
children 2ebad02adbe5
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	themwi-mncc
OBJS=	call_setup.o extsock.o gsm_call.o intswitch.o main.o mncc_recv.o \
	mncc_sock.o mtsock.o
LIBS=	../libnumdb/libnumdb.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