diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/decode/Makefile	Thu Jun 13 02:39:21 2024 +0000
@@ -0,0 +1,21 @@
+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