diff Makefile @ 36:84affc6de365 default tip

Makefile hierarchy: add install
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 09 Jul 2024 02:22:18 +0000
parents be04d84f5468
children
line wrap: on
line diff
--- a/Makefile	Tue Jul 09 01:56:26 2024 +0000
+++ b/Makefile	Tue Jul 09 02:22:18 2024 +0000
@@ -1,4 +1,4 @@
-SUBDIR=	src
+SUBDIR=	include src
 DESTDIR=
 
 all:	${SUBDIR}
@@ -10,9 +10,9 @@
 	@echo 'You must run ./configure before make'
 	@false
 
-#install: FRC
-#	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
-#		DESTDIR=${DESTDIR} install); done
+install: FRC
+	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
+		DESTDIR=${DESTDIR} install); done
 
 clean: FRC
 	rm -f a.out core errs