view offline/Makefile @ 164:e6263e1b16f8

misc programs don't depend on libutil after the split
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 26 Feb 2021 21:48:23 +0000
parents 4cd2023f56a6
children 0f96b5136541
line wrap: on
line source

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

all:	${PROGS}

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

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

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