comparison utils/Makefile @ 25:9c9f6adbaedb

sim-iccid-mkrange utility added
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 15 Mar 2021 09:07:20 +0000
parents 47a491a16de3
children ca8a6f95826a
comparison
equal deleted inserted replaced
24:47a491a16de3 25:9c9f6adbaedb
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= sim-iccid-mkfull sws-email2db 3 PROGS= sim-iccid-mkfull sim-iccid-mkrange 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
10 all: ${PROGS} 10 all: ${PROGS}
11 11
12 sim-iccid-mkfull: sim-iccid-mkfull.o ${LIBUTIL} 12 sim-iccid-mkfull: sim-iccid-mkfull.o ${LIBUTIL}
13 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL} 13 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
14 14
15 sim-iccid-mkrange: sim-iccid-mkrange.o ${LIBUTIL}
16 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
17
15 sws-email2db: sws-email2db.c 18 sws-email2db: sws-email2db.c
16 ${CC} ${CFLAGS} -o $@ $@.c 19 ${CC} ${CFLAGS} -o $@ $@.c
17 20
18 install: 21 install:
19 mkdir -p ${INSTBIN} 22 mkdir -p ${INSTBIN}