aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-05-12 16:16:22 -0400
committerJesse Luehrs <doy@tozt.net>2016-05-12 16:16:22 -0400
commita1c5d9e4daf846e9aac13725442899e3908adbac (patch)
treef8fc2c254a6c01bb176704ebe1d884b3d93c7f42 /Makefile
parentaca98a4b2c9d0be48be773fbf438a8477698ef14 (diff)
downloadrunes-a1c5d9e4daf846e9aac13725442899e3908adbac.tar.gz
runes-a1c5d9e4daf846e9aac13725442899e3908adbac.zip
don't recurse infinitely if libvt100 fails to build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)