comparison utils/Makefile @ 17:372ecc4aa2c4

off-line utils ported over
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Mar 2021 07:48:55 +0000
parents
children 47a491a16de3
comparison
equal deleted inserted replaced
16:53f8a1146a56 17:372ecc4aa2c4
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= sim-iccid-mkfull sws-email2db
4 LIBS= ../libutil/libutil.a
5
6 INSTALL_PREFIX= /opt/freecalypso
7
8 INSTBIN=${INSTALL_PREFIX}/bin
9
10 all: ${PROGS}
11
12 sim-iccid-mkfull: sim-iccid-mkfull.o ${LIBS}
13 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS}
14
15 sws-email2db: sws-email2db.c
16 ${CC} ${CFLAGS} -o $@ $@.c
17
18 install:
19 mkdir -p ${INSTBIN}
20 install -c ${PROGS} ${INSTBIN}
21
22 clean:
23 rm -f ${PROGS} *.o