comparison utils/Makefile @ 9:0b4d54289ef3

themwi-short-dial compiles in the new model
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 13 Dec 2023 03:51:57 +0000
parents dc1554b7dfb8
children 3d6cfb615d90
comparison
equal deleted inserted replaced
8:db3c657efafa 9:0b4d54289ef3
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 -I../build-inc 2 CFLAGS= -O2 -I../build-inc
3 PROGS= themwi-check-own themwi-dump-numdb themwi-update-numdb 3 PROGS= themwi-check-own themwi-dump-numdb themwi-short-dial themwi-update-numdb
4 LIBNUMDB=../libnumdb/libnumdb.a 4 LIBNUMDB=../libnumdb/libnumdb.a
5 LIBUTIL=../libnumutil/libnumutil.a 5 LIBUTIL=../libnumutil/libnumutil.a
6 6
7 all: ${PROGS} 7 all: ${PROGS}
8 8
10 ${CC} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL} 10 ${CC} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
11 11
12 themwi-dump-numdb: themwi-dump-numdb.c 12 themwi-dump-numdb: themwi-dump-numdb.c
13 ${CC} ${CFLAGS} -o $@ $@.c 13 ${CC} ${CFLAGS} -o $@ $@.c
14 14
15 themwi-short-dial: themwi-short-dial.o ${LIBNUMDB} ${LIBUTIL}
16 ${CC} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
17
15 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL} 18 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL}
16 ${CC} -o $@ $@.o ${LIBUTIL} 19 ${CC} -o $@ $@.o ${LIBUTIL}
17 20
18 clean: 21 clean:
19 rm -f *.o ${PROGS} errs 22 rm -f *.o ${PROGS} errs