view utils/Makefile @ 24:47a491a16de3

utils/Makefile: use ${LIBUTIL} instead of ${LIBS}
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 15 Mar 2021 08:43:08 +0000
parents 372ecc4aa2c4
children 9c9f6adbaedb
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	sim-iccid-mkfull 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}

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

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

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