view gen/Makefile @ 7:a33d4d8079d2

ota-set-msisdn utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Feb 2021 01:00:39 +0000
parents
children 2c022e0334c4
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	ota-set-msisdn
LIBS=	../libutil/libutil.a
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

ota-set-msisdn:	ota-set-msisdn.o ${LIBS}
	${CC} ${CFLAGS} -o $@ $@.o ${LIBS}

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

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