From d59264ae27228176f5b731871df1a87d7abbb5c8 Mon Sep 17 00:00:00 2001 From: Daniel Holden Date: Sun, 19 Jul 2020 08:57:42 -0400 Subject: [PATCH] fixed makefile when build directory doesn't exist --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5583556..20ec113 100644 --- a/Makefile +++ b/Makefile @@ -18,9 +18,10 @@ EXAMPLESEXE = $(EXAMPLES:.c=) all: $(EXAMPLESEXE) check $(DIST): + $(MKDIR) $(DIST) $(MKDIR) $(DIST)/examples -check: $(DIST)/test-file $(DIST)/test-static $(DIST)/test-dynamic +check: $(DIST) $(DIST)/test-file $(DIST)/test-static $(DIST)/test-dynamic ./$(DIST)/test-file ./$(DIST)/test-static LD_LIBRARY_PATH=$(DIST) ./$(DIST)/test-dynamic