comparison mtctest/Makefile @ 21:cc0e1c6e33c3

themwi-test-mtc utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 28 Jun 2022 18:25:28 -0800
parents
children e8e82a4bf12b
comparison
equal deleted inserted replaced
20:b13acb024fc6 21:cc0e1c6e33c3
1 CC= gcc
2 CFLAGS= -O2
3 PROG= themwi-test-mtc
4 OBJS= disconnect.o main.o setup.o sig_handler.o sock_conn.o
5 LIBS= ../libnumdb/libnumdb.a ../libutil/libutil.a
6 INSTBIN=/usr/local/bin
7
8 all: ${PROG}
9
10 ${PROG}: ${OBJS} ${LIBS}
11 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
12
13 install:
14 install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN}
15
16 clean:
17 rm -f *.o ${PROG} errs