view utils/Makefile @ 26:322f6fcdc36e

doc/vendor/grcard2-person-script added
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 16 Mar 2021 00:40:10 +0000
parents 9c9f6adbaedb
children ca8a6f95826a
line wrap: on
line source

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

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROGS}

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

sim-iccid-mkrange:	sim-iccid-mkrange.o ${LIBUTIL}
	${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}

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

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

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