From 1c3406e8b486ec22f16d4e5bf6a28d35ca744af3 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 14 May 2016 17:31:47 -0400 Subject: use the same list of goals when reinvoking make --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3-54-g00ecf