aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-05-14 17:31:47 -0400
committerJesse Luehrs <doy@tozt.net>2016-05-14 17:31:47 -0400
commit1c3406e8b486ec22f16d4e5bf6a28d35ca744af3 (patch)
tree3ed92f5b80e0ab93b591b3ed5eb8165e695624ff /Makefile
parent9b47369c317327eb92c6690b6374793d3645b6cc (diff)
downloadrunes-1c3406e8b486ec22f16d4e5bf6a28d35ca744af3.tar.gz
runes-1c3406e8b486ec22f16d4e5bf6a28d35ca744af3.zip
use the same list of goals when reinvoking make
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dc99921..001c0f7 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ $(COUT): $(COBJ)
libvt100/libvt100.a: make-libvt100
make-libvt100:
- @if ! $(MAKE) -q -C libvt100 static; then $(MAKE) -C libvt100 static && MAKELEVEL=$(echo "${MAKELEVEL}-1" | bc) exec $(MAKE); fi
+ @if ! $(MAKE) -q -C libvt100 static; then $(MAKE) -C libvt100 static && MAKELEVEL=$(echo "${MAKELEVEL}-1" | bc) exec $(MAKE) $(MAKECMDGOALS); fi
$(BUILD)%.o: $(SRC)%.c
@mkdir -p $(BUILD)