Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Create ebin dir before compiling

  • Loading branch information...
commit 5f1c8a79b2133b143344a2877a1e35905fd54f8f 1 parent 5976d23
@tonyg authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 Makefile
View
5 Makefile
@@ -18,9 +18,12 @@ endif
all: $(TARGETS)
-$(EBIN_DIR)/%.beam: $(SOURCE_DIR)/%.erl $(INCLUDES)
+$(EBIN_DIR)/%.beam: $(SOURCE_DIR)/%.erl $(EBIN_DIR) $(INCLUDES)
erlc $(ERLC_OPTS) $<
+$(EBIN_DIR):
+ mkdir $(EBIN_DIR)
+
clean:
rm -f ebin/*.beam
rm -f $(TARGETS)
Please sign in to comment.
Something went wrong with that request. Please try again.