commit 8dfe948a8766ae9032400706ab849029e276da3b
parent 3d586c4e3fcfef66ddd99b1dce704d124c46cf58
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 23 Feb 2022 18:27:55 +0100
Fix the main Makefile
Do not directly invoke make for the subdirectories but use the MAKE
macro instead.
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
@@ -16,7 +16,7 @@
include config.mk
-SUBDIRS=art schiff solstice star-engine stardis misc htrdr
+SUBDIRS=art htrdr misc schiff solstice star-engine stardis
SCRIPTS=\
build_htaccess.sh\
@@ -28,21 +28,21 @@ SCRIPTS=\
build:
@for subdir in $(SUBDIRS); do \
printf "\e[1m>>> %s\e[0m\n" $$subdir; \
- make -C $${subdir}; echo ""; done
+ $(MAKE) -C $${subdir}; echo ""; done
distclean:
@echo "Removing .htaccess"
@rm -f .htaccess && echo ""
@for subdir in $(SUBDIRS); do \
printf "\e[1m>>> %s\e[0m\n" $$subdir; \
- make -C $${subdir} $@; echo ""; done
+ $(MAKE) -C $${subdir} $@; echo ""; done
clean:
@echo "Removing .htaccess"
@rm -f .htaccess && echo ""
@for subdir in $(SUBDIRS); do \
printf "\e[1m>>> %s\e[0m\n" $$subdir; \
- make -C $${subdir} $@; echo ""; done
+ $(MAKE) -C $${subdir} $@; echo ""; done
check:
@for i in $(SCRIPTS); do \
@@ -51,12 +51,12 @@ check:
@echo ""
@for subdir in $(SUBDIRS); do \
printf "\e[1m>>> %s\e[0m\n" $$subdir; \
- make -C $${subdir} $@; echo ""; done
+ $(MAKE) -C $${subdir} $@; echo ""; done
install: .htaccess
@for subdir in $(SUBDIRS); do \
printf "\e[1m>>> %s\e[0m\n" $$subdir; \
- make -C $$subdir $@; echo ""; done
+ $(MAKE) -C $$subdir $@; echo ""; done
@rsync -avzrR --delete-after --progress\
solstice.html .htaccess fonts meso.css ${PREFIX}