view uptools/sms-pdu-decode/Makefile @ 442:ba4171b2f980

target-utils/Makefile: calversion added
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 26 Dec 2018 07:04:32 +0000
parents 560af437a429
children 90d7c360a614
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	sms-pdu-decode
LIB=	../libcoding/libcoding.a
OBJS=	${PROG}.o ${LIB}
INSTBIN=/opt/freecalypso/bin

all:	${PROG}

${PROG}:	${OBJS}
	${CC} ${CFLAGS} -o $@ ${OBJS}

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

clean:
	rm -f ${PROG} *.o *errs *.out