From a1c5d9e4daf846e9aac13725442899e3908adbac Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 12 May 2016 16:16:22 -0400 Subject: don't recurse infinitely if libvt100 fails to build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a38ceca..dc99921 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); fi $(BUILD)%.o: $(SRC)%.c @mkdir -p $(BUILD) -- cgit v1.2.3-54-g00ecf