comparison utils/Makefile @ 14:aea422af79dd

themwi-short-dial utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 26 Jun 2022 14:42:33 -0800
parents 26b98505684e
children 4e0a73be9e37
comparison
equal deleted inserted replaced
13:26b98505684e 14:aea422af79dd
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
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=../libutil/libutil.a 5 LIBUTIL=../libutil/libutil.a
6 INSTBIN=/usr/local/bin 6 INSTBIN=/usr/local/bin
7 7
8 all: ${PROGS} 8 all: ${PROGS}
11 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL} 11 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
12 12
13 themwi-dump-numdb: themwi-dump-numdb.c 13 themwi-dump-numdb: themwi-dump-numdb.c
14 ${CC} ${CFLAGS} -o $@ $@.c 14 ${CC} ${CFLAGS} -o $@ $@.c
15 15
16 themwi-short-dial: themwi-short-dial.o ${LIBNUMDB} ${LIBUTIL}
17 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
18
16 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL} 19 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL}
17 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} 20 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
18 21
19 install: 22 install:
20 install -c -o bin -g bin -m 755 ${PROGS} ${INSTBIN} 23 install -c -o bin -g bin -m 755 ${PROGS} ${INSTBIN}