view 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
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	sim-iccid-mkfull sws-email2db
LIBS=	../libutil/libutil.a
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

sim-iccid-mkfull:	sim-iccid-mkfull.o ${LIBS}
	${CC} ${CFLAGS} -o $@ $@.o ${LIBS}

sws-email2db:	sws-email2db.c
	${CC} ${CFLAGS} -o $@ $@.c

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f ${PROGS} *.o