view utils/Makefile @ 5:2729f94f38fb

themwi-dump-numdb compiles in the new model
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 13 Dec 2023 02:53:27 +0000
parents 5bf2648e5413
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