diff Makefile @ 15:e1629a7c8ae3

top Makefile: add new local libraries
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 Sep 2023 08:11:12 +0000
parents d4151cef9d95
children 2e21b551b971
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: