From e9d82dd950cb23e79c3425a636a5ddc95b65f904 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 27 Apr 2021 19:15:45 +0200 Subject: Better makefile debugging structure --- run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'run') diff --git a/run b/run index 66dbeca..3e41d71 100755 --- a/run +++ b/run @@ -140,9 +140,9 @@ make_build() { printf "\nBuilding...\n" if [ "$mode" = "debug" ] || [ "$MELVIX_DEBUG" = "1" ]; then - $MAKE -j $($NPROC) debug + $MAKE -j $($NPROC) DEBUG=1 else - $MAKE -j $($NPROC) + $MAKE -j $($NPROC) DEBUG=0 fi # Create disk image -- cgit v1.2.3