Skip to content

Commit

Permalink
fixed makefile when build directory doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
orangeduck committed Jul 19, 2020
1 parent e507d34 commit d59264a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d59264a

Please sign in to comment.