FreeCalypso > hg > themwi-system-sw
comparison utils/Makefile @ 130:44dc809ffec0
themwi-update-out-routes utility written, compiles
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 06 Oct 2022 20:56:14 -0800 |
| parents | ffb563a17f23 |
| children | 5c7109183c8c |
comparison
equal
deleted
inserted
replaced
| 129:b7cd66acb123 | 130:44dc809ffec0 |
|---|---|
| 1 CC= gcc | 1 CC= gcc |
| 2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
| 3 PROGS= sip-out-test sip-rx-test sip-udp-dump themwi-check-own \ | 3 PROGS= sip-out-test sip-rx-test sip-udp-dump themwi-check-own \ |
| 4 themwi-dump-numdb themwi-short-dial themwi-update-numdb | 4 themwi-dump-numdb themwi-short-dial themwi-update-numdb \ |
| 5 themwi-update-out-routes | |
| 5 LIBNUMDB=../libnumdb/libnumdb.a | 6 LIBNUMDB=../libnumdb/libnumdb.a |
| 6 LIBSIP= ../libsip/libsip.a | 7 LIBSIP= ../libsip/libsip.a |
| 7 LIBUTIL=../libutil/libutil.a | 8 LIBUTIL=../libutil/libutil.a |
| 8 INSTBIN=/usr/local/bin | 9 INSTBIN=/usr/local/bin |
| 9 | 10 |
| 28 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL} | 29 ${CC} ${CFLAGS} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL} |
| 29 | 30 |
| 30 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL} | 31 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL} |
| 31 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} | 32 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} |
| 32 | 33 |
| 34 themwi-update-out-routes: themwi-update-out-routes.o ${LIBUTIL} | |
| 35 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} | |
| 36 | |
| 33 install: | 37 install: |
| 34 install -c -o bin -g bin -m 755 ${PROGS} ${INSTBIN} | 38 install -c -o bin -g bin -m 755 ${PROGS} ${INSTBIN} |
| 35 | 39 |
| 36 clean: | 40 clean: |
| 37 rm -f *.o ${PROGS} errs | 41 rm -f *.o ${PROGS} errs |
