comparison mgw/Makefile @ 32:b3f74df7b808

beginning of themwi-mgw
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Jul 2022 22:51:44 -0800
parents
children f280328e7e2e
comparison
equal deleted inserted replaced
31:08d7794cdd0a 32:b3f74df7b808
1 CC= gcc
2 CFLAGS= -O2
3 PROG= themwi-mgw
4 OBJS= crcx.o ctrl_prot.o ctrl_sock.o dlcx.o main.o mdcx.o readconf.o udpsink.o
5 LIBS= ../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