annotate utils/Makefile @ 132:aa278d75d757

themwi-update-outrt: catch and reject empty tables
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 06 Oct 2022 22:49:26 -0800
parents 5c7109183c8c
children 857d78c58f56
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
52
ffb563a17f23 wrote sip-out-test program
Mychaela Falconia <falcon@freecalypso.org>
parents: 42
diff changeset
3 PROGS= sip-out-test sip-rx-test sip-udp-dump themwi-check-own \
130
44dc809ffec0 themwi-update-out-routes utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 52
diff changeset
4 themwi-dump-numdb themwi-short-dial themwi-update-numdb \
131
5c7109183c8c shorten new program name to themwi-update-outrt
Mychaela Falconia <falcon@freecalypso.org>
parents: 130
diff changeset
5 themwi-update-outrt
13
26b98505684e themwi-check-own utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
6 LIBNUMDB=../libnumdb/libnumdb.a
42
891ebfb55e6b sip-rx-test program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
7 LIBSIP= ../libsip/libsip.a
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 LIBUTIL=../libutil/libutil.a
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 INSTBIN=/usr/local/bin
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 all: ${PROGS}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
52
ffb563a17f23 wrote sip-out-test program
Mychaela Falconia <falcon@freecalypso.org>
parents: 42
diff changeset
13 sip-out-test: sip-out-test.c
ffb563a17f23 wrote sip-out-test program
Mychaela Falconia <falcon@freecalypso.org>
parents: 42
diff changeset
14 ${CC} ${CFLAGS} -o $@ $@.c
ffb563a17f23 wrote sip-out-test program
Mychaela Falconia <falcon@freecalypso.org>
parents: 42
diff changeset
15
42
891ebfb55e6b sip-rx-test program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
16 sip-rx-test: sip-rx-test.o ${LIBSIP}
891ebfb55e6b sip-rx-test program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
17 ${CC} ${CFLAGS} -o $@ $@.o ${LIBSIP}
891ebfb55e6b sip-rx-test program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
18
17
4e0a73be9e37 sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
19 sip-udp-dump: sip-udp-dump.c
4e0a73be9e37 sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
20 ${CC} ${CFLAGS} -o $@ $@.c
4e0a73be9e37 sip-udp-dump utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
21
13
26b98505684e themwi-check-own utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
22 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
23 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
26b98505684e themwi-check-own utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 6
diff changeset
24
6
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
25 themwi-dump-numdb: themwi-dump-numdb.c
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
26 ${CC} ${CFLAGS} -o $@ $@.c
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
27
14
aea422af79dd themwi-short-dial utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 13
diff changeset
28 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
29 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL}
aea422af79dd themwi-short-dial utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 13
diff changeset
30
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33
131
5c7109183c8c shorten new program name to themwi-update-outrt
Mychaela Falconia <falcon@freecalypso.org>
parents: 130
diff changeset
34 themwi-update-outrt: themwi-update-outrt.o ${LIBUTIL}
130
44dc809ffec0 themwi-update-out-routes utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 52
diff changeset
35 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
44dc809ffec0 themwi-update-out-routes utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 52
diff changeset
36
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 install:
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 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
39
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 clean:
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 rm -f *.o ${PROGS} errs