view decode/Makefile @ 30:d7571dc2fecc

doc: encoder/generator portion is now just one part
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 13 Jun 2024 23:16:04 +0000
parents aae078d9eaa6
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