diff cp2102/Makefile @ 62:f5db4e03efb2

cp2102/Makefile: install baudtab files
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Sep 2023 21:15:18 +0000
parents ae8075bcc029
children 0787525a33e2
line wrap: on
line diff
--- a/cp2102/Makefile	Mon Sep 11 21:11:41 2023 +0000
+++ b/cp2102/Makefile	Mon Sep 11 21:15:18 2023 +0000
@@ -5,9 +5,12 @@
 NOINST=	file_rw_test
 LIBS=	../libuwrap/libuwrap.a
 
+INST_FILES=	baudtab-gsm baudtab-std
+
 INSTALL_PREFIX=	/opt/freecalypso
 
 INSTBIN=${INSTALL_PREFIX}/bin
+INSTDAT=${INSTALL_PREFIX}/cp2102
 
 DECODE_BAUDTAB_OBJS=	decode_baudtab.o decode_baudtab_main.o intel_hex_in.o
 READ_BAUDTAB_OBJS=	decode_baudtab.o read_baudtab.o read_eeprom.o
@@ -34,6 +37,8 @@
 install:
 	mkdir -p ${INSTBIN}
 	install -c ${PROGS} ${INSTBIN}
+	mkdir -p ${INSTDAT}
+	install -c -m 644 ${INST_FILES} ${INSTDAT}
 
 clean:
 	rm -f ${PROGS} ${NOINST} *.o *errs *.out