diff utils/Makefile @ 4:4ad5deafaa87

themwi-update-numdb utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 26 Jun 2022 11:39:14 -0800
parents
children 030143a95fb5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/utils/Makefile	Sun Jun 26 11:39:14 2022 -0800
@@ -0,0 +1,16 @@
+CC=	gcc
+CFLAGS=	-O2
+PROGS=	themwi-update-numdb
+LIBUTIL=../libutil/libutil.a
+INSTBIN=/usr/local/bin
+
+all:	${PROGS}
+
+themwi-update-numdb:	themwi-update-numdb.o ${LIBUTIL}
+	${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
+
+install:
+	install -c -o bin -g bin -m 755 ${PROGS} ${INSTBIN}
+
+clean:
+	rm -f *.o ${PROGS} errs