view decode/Makefile @ 29:aae078d9eaa6

immigrate sms-pdu-decode and pcm-sms-decode here
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 13 Jun 2024 02:39:21 +0000
parents
children
line wrap: on
line source

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}

include ../config.defs

all:	${PROGS}

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

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

install:
	mkdir -p ${DESTDIR}${bindir}
	install -c ${PROGS} ${DESTDIR}${bindir}

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