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

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

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/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