annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
14
aea422af79dd themwi-short-dial utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 13
diff changeset
3 PROGS= themwi-check-own themwi-dump-numdb themwi-short-dial themwi-update-numdb
13
26b98505684e themwi-check-own utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
4 LIBNUMDB=../libnumdb/libnumdb.a
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 LIBUTIL=../libutil/libutil.a
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 INSTBIN=/usr/local/bin
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 all: ${PROGS}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
13
26b98505684e themwi-check-own utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
10 themwi-check-own: themwi-check-own.o ${LIBNUMDB} ${LIBUTIL}
26b98505684e themwi-check-own utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
11 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
26b98505684e themwi-check-own utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
12
6
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
13 themwi-dump-numdb: themwi-dump-numdb.c
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
14 ${CC} ${CFLAGS} -o $@ $@.c
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
15
14
aea422af79dd themwi-short-dial utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 13
diff changeset
16 themwi-short-dial: themwi-short-dial.o ${LIBNUMDB} ${LIBUTIL}
aea422af79dd themwi-short-dial utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 13
diff changeset
17 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
aea422af79dd themwi-short-dial utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 13
diff changeset
18
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 install:
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 install -c -o bin -g bin -m 755 ${PROGS} ${INSTBIN}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 clean:
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 rm -f *.o ${PROGS} errs