comparison 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
comparison
equal deleted inserted replaced
12:6560915b0d27 13:26b98505684e
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= themwi-dump-numdb themwi-update-numdb 3 PROGS= themwi-check-own themwi-dump-numdb themwi-update-numdb
4 LIBNUMDB=../libnumdb/libnumdb.a
4 LIBUTIL=../libutil/libutil.a 5 LIBUTIL=../libutil/libutil.a
5 INSTBIN=/usr/local/bin 6 INSTBIN=/usr/local/bin
6 7
7 all: ${PROGS} 8 all: ${PROGS}
9
10 themwi-check-own: themwi-check-own.o ${LIBNUMDB} ${LIBUTIL}
11 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
8 12
9 themwi-dump-numdb: themwi-dump-numdb.c 13 themwi-dump-numdb: themwi-dump-numdb.c
10 ${CC} ${CFLAGS} -o $@ $@.c 14 ${CC} ${CFLAGS} -o $@ $@.c
11 15
12 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL} 16 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL}