diff ueda/unet-bind/Makefile @ 101:ffab0a4424ad

ueda: unet-bind program moved into sensibly named unet-bind subdir
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 29 Sep 2019 22:42:41 +0000
parents ueda/sverp-bind/Makefile@61272ee5aadc
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ueda/unet-bind/Makefile	Sun Sep 29 22:42:41 2019 +0000
@@ -0,0 +1,19 @@
+CC=	gcc
+CFLAGS=	-O2
+OBJS=	enterinst.o insthash.o main.o outcomp.o output.o readunet.o starpoints.o
+LIBS=	../libunet/libunet.a ../libueda/libueda.a
+PROG=	unet-bind
+BINDIR=	/usr/local/bin
+
+all:	${PROG}
+
+${PROG}:	${OBJS} ${LIBS}
+	${CC} -o $@ ${OBJS} ${LIBS}
+
+${OBJS}:	struct.h
+
+install:
+	install -c -o bin -g bin -m 755 ${PROG} ${BINDIR}
+
+clean:
+	rm -f *.[ao] a.out core errs ${PROG}