diff utils/Makefile @ 13:26b98505684e

themwi-check-own utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 26 Jun 2022 14:17:26 -0800
parents 030143a95fb5
children aea422af79dd
line wrap: on
line diff
--- a/utils/Makefile	Sun Jun 26 13:52:29 2022 -0800
+++ b/utils/Makefile	Sun Jun 26 14:17:26 2022 -0800
@@ -1,11 +1,15 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	themwi-dump-numdb themwi-update-numdb
+PROGS=	themwi-check-own themwi-dump-numdb themwi-update-numdb
+LIBNUMDB=../libnumdb/libnumdb.a
 LIBUTIL=../libutil/libutil.a
 INSTBIN=/usr/local/bin
 
 all:	${PROGS}
 
+themwi-check-own:	themwi-check-own.o ${LIBNUMDB} ${LIBUTIL}
+	${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
+
 themwi-dump-numdb:	themwi-dump-numdb.c
 	${CC} ${CFLAGS} -o $@ $@.c