view uptools/sms-pdu-decode/Makefile @ 889:834b5645a123

doc/Buzzer-melodies: note the fact that Mot C1xx official fw uses PWT
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 03 Apr 2022 04:39:26 +0000
parents 31e219088cd6
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	pcm-sms-decode sms-pdu-decode
LIB=	../libcoding/libcoding.a

OBJS0=	pcm-sms-decode.o pdu-common.o ${LIB}
OBJS1=	pdu-common.o sms-pdu-decode.o ${LIB}

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROGS}

pcm-sms-decode:	${OBJS0}
	${CC} ${CFLAGS} -o $@ ${OBJS0}

sms-pdu-decode:	${OBJS1}
	${CC} ${CFLAGS} -o $@ ${OBJS1}

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

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