From a3f3f36f3629fbfd8dbe6b728aa881f603744326 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 5 Jun 2016 06:22:23 -0400 Subject: simplify --- Makefile | 6 ++---- 1 file 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 -- cgit v1.2.3