view utils/Makefile @ 7:dc1554b7dfb8

themwi-check-own compiles in the new model
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 13 Dec 2023 03:33:51 +0000
parents 2729f94f38fb
children 0b4d54289ef3
line wrap: on
line source

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

all:	${PROGS}

themwi-check-own:	themwi-check-own.o ${LIBNUMDB} ${LIBUTIL}
	${CC} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}

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