view utils/Makefile @ 6:1e548c7a24a1

themwi-check-own: old source as starting point
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 13 Dec 2023 03:14:35 +0000
parents 2729f94f38fb
children dc1554b7dfb8
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I../build-inc
PROGS=	themwi-dump-numdb themwi-update-numdb
LIBNUMDB=../libnumdb/libnumdb.a
LIBUTIL=../libnumutil/libnumutil.a

all:	${PROGS}

themwi-dump-numdb:	themwi-dump-numdb.c
	${CC} ${CFLAGS} -o $@ $@.c

themwi-update-numdb:	themwi-update-numdb.o ${LIBUTIL}
	${CC} -o $@ $@.o ${LIBUTIL}

clean:
	rm -f *.o ${PROGS} errs