view offline/Makefile @ 189:123dc7370581

top Makefile: install scripts
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 Mar 2021 21:11:21 +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