fixed makefile when build directory doesn't exist

This commit is contained in:
Daniel Holden
2020-07-19 08:57:42 -04:00
parent e507d34428
commit d59264ae27

View File

@@ -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