aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-06-05 06:22:23 -0400
committerJesse Luehrs <doy@tozt.net>2016-06-05 06:22:23 -0400
commita3f3f36f3629fbfd8dbe6b728aa881f603744326 (patch)
treea9c9d70e1e37229654fb460c44ce6df9d09b4b7c
parent31d3606bc41d746cc48c889a788c429dd9850ed5 (diff)
downloadrunes-a3f3f36f3629fbfd8dbe6b728aa881f603744326.tar.gz
runes-a3f3f36f3629fbfd8dbe6b728aa881f603744326.zip
simplify
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index be8ab87..710729e 100644
--- a/Makefile
+++ b/Makefile
@@ -64,9 +64,7 @@ $(DOUT): $(DOBJ) libvt100/libvt100.a
$(COUT): $(COBJ)
$(QUIET_LD)$(CC) -o $@ $^ $(ALLLDFLAGS)
-libvt100/libvt100.a: make-libvt100
-
-make-libvt100:
+libvt100/libvt100.a::
@if ! $(MAKE) -q -C libvt100 static; then $(MAKE) -C libvt100 static && MAKELEVEL=$(echo "${MAKELEVEL}-1" | bc) exec $(MAKE) $(MAKECMDGOALS); fi
$(BUILD)%.o: $(SRC)%.c | $(BUILD)
@@ -88,4 +86,4 @@ help: ## Display this help
-include $(DOBJ:$(BUILD)%.o=$(BUILD).%.d)
-include $(COBJ:$(BUILD)%.o=$(BUILD).%.d)
-.PHONY: all run run-daemon clean help make-libvt100
+.PHONY: all run run-daemon clean help