diff ueda/unet-utils/Makefile @ 24:7e8a2cb54b6b

started implementing unet-destar
author Space Falcon <falcon@ivan.Harhan.ORG>
date Thu, 06 Aug 2015 20:20:11 +0000
parents
children 2af4a85daf89
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ueda/unet-utils/Makefile	Thu Aug 06 20:20:11 2015 +0000
@@ -0,0 +1,18 @@
+CC=	gcc
+CFLAGS=	-O2
+PROGS=	unet-destar
+LIBUNET=../libunet/libunet.a
+BINDIR=	/usr/local/bin
+
+all:	${PROGS}
+
+${PROGS}:	${LIBUNET}
+	${CC} ${CFLAGS} -o $@ $@.o ${LIBUNET}
+
+install:
+	install -c -o bin -g bin -m 755 ${PROGS} ${BINDIR}
+
+clean:
+	rm -f *.[ao] a.out core errs ${PROGS}
+
+unet-destar:	unet-destar.o