comparison offline/Makefile @ 226:0f96b5136541

sws-email2db program written
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 10 Mar 2021 20:34:03 +0000
parents 4cd2023f56a6
children
comparison
equal deleted inserted replaced
225:208ae1633f6c 226:0f96b5136541
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= sim-iccid-mkfull 3 PROGS= sim-iccid-mkfull sws-email2db
4 LIBS= ../libutil/libutil.a 4 LIBS= ../libutil/libutil.a
5 INSTBIN=/opt/freecalypso/bin 5 INSTBIN=/opt/freecalypso/bin
6 6
7 all: ${PROGS} 7 all: ${PROGS}
8 8
9 sim-iccid-mkfull: sim-iccid-mkfull.o ${LIBS} 9 sim-iccid-mkfull: sim-iccid-mkfull.o ${LIBS}
10 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} 10 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS}
11 11
12 sws-email2db: sws-email2db.c
13 ${CC} ${CFLAGS} -o $@ $@.c
14
12 install: 15 install:
13 mkdir -p ${INSTBIN} 16 mkdir -p ${INSTBIN}
14 install -c ${PROGS} ${INSTBIN} 17 install -c ${PROGS} ${INSTBIN}
15 18
16 clean: 19 clean: