annotate utils/Makefile @ 20:b13acb024fc6

libutil: add is_valid_ext_digit()
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 26 Jun 2022 23:35:19 -0800
parents 4e0a73be9e37
children 891ebfb55e6b
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
17
4e0a73be9e37 sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
3 PROGS= sip-udp-dump themwi-check-own themwi-dump-numdb themwi-short-dial \
4e0a73be9e37 sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
4 themwi-update-numdb
13
26b98505684e themwi-check-own utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
5 LIBNUMDB=../libnumdb/libnumdb.a
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 LIBUTIL=../libutil/libutil.a
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 INSTBIN=/usr/local/bin
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 all: ${PROGS}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
17
4e0a73be9e37 sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
11 sip-udp-dump: sip-udp-dump.c
4e0a73be9e37 sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
12 ${CC} ${CFLAGS} -o $@ $@.c
4e0a73be9e37 sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
13
13
26b98505684e themwi-check-own utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
14 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
15 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
26b98505684e themwi-check-own utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
16
6
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
17 themwi-dump-numdb: themwi-dump-numdb.c
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
18 ${CC} ${CFLAGS} -o $@ $@.c
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
19
14
aea422af79dd themwi-short-dial utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 13
diff changeset
20 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
21 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
aea422af79dd themwi-short-dial utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 13
diff changeset
22
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 install:
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 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
28
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 clean:
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 rm -f *.o ${PROGS} errs