comparison utils/Makefile @ 27:ca8a6f95826a

implemented sws-card-lookup and underlying libutil functions
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 16 Mar 2021 23:22:37 +0000
parents 9c9f6adbaedb
children 26d2ef843a99
comparison
equal deleted inserted replaced
26:322f6fcdc36e 27:ca8a6f95826a
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= sim-iccid-mkfull sim-iccid-mkrange sws-email2db 3 PROGS= sim-iccid-mkfull sim-iccid-mkrange sws-card-lookup sws-email2db
4 LIBUTIL=../libutil/libutil.a 4 LIBUTIL=../libutil/libutil.a
5 5
6 INSTALL_PREFIX= /opt/freecalypso 6 INSTALL_PREFIX= /opt/freecalypso
7 7
8 INSTBIN=${INSTALL_PREFIX}/bin 8 INSTBIN=${INSTALL_PREFIX}/bin
13 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} 13 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
14 14
15 sim-iccid-mkrange: sim-iccid-mkrange.o ${LIBUTIL} 15 sim-iccid-mkrange: sim-iccid-mkrange.o ${LIBUTIL}
16 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} 16 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
17 17
18 sws-card-lookup: sws-card-lookup.o ${LIBUTIL}
19 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
20
18 sws-email2db: sws-email2db.c 21 sws-email2db: sws-email2db.c
19 ${CC} ${CFLAGS} -o $@ $@.c 22 ${CC} ${CFLAGS} -o $@ $@.c
20 23
21 install: 24 install:
22 mkdir -p ${INSTBIN} 25 mkdir -p ${INSTBIN}