changeset 15:e1629a7c8ae3

top Makefile: add new local libraries
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 Sep 2023 08:11:12 +0000
parents 67ecb394b24f
children 1d76deae1e74
files Makefile
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Sep 07 07:59:09 2023 +0000
+++ b/Makefile	Thu Sep 07 08:11:12 2023 +0000
@@ -1,6 +1,8 @@
 CC=	gcc
 CFLAGS=	-O2
-SUBDIR=	eeproms fteeprom
+PROGDIR=eeproms fteeprom
+LIBDIR=	libftmini libuwrap
+SUBDIR=	${PROGDIR} ${LIBDIR}
 
 INSTALL_PREFIX=	/opt/freecalypso
 
@@ -15,7 +17,7 @@
 
 install: FRC
 	mkdir -p ${INSTALL_PREFIX}
-	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
+	for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
 		INSTALL_PREFIX=${INSTALL_PREFIX} install); done
 
 FRC: