Permalink
Browse files

Add a Makefile target to build the examples

  • Loading branch information...
msantos committed Apr 8, 2012
1 parent 39424ec commit a9cff613a870c9643f47d5eb34895f2549503eaa
Showing with 4 additions and 2 deletions.
  1. +3 −1 Makefile
  2. +1 −1 README.md
View
@@ -1,4 +1,3 @@
-
REBAR=$(shell which rebar || echo ./rebar)
all: dirs compile
@@ -21,3 +20,6 @@ clean: $(REBAR)
deps: $(REBAR)
@$(REBAR) get-deps
+examples: eg
+eg:
+ @erlc -I deps -o ebin examples/*.erl
View
@@ -129,7 +129,7 @@ capabilities:
To build the examples:
- erlc -o ebin examples/*
+ make examples
### Simple echo server

0 comments on commit a9cff61

Please sign in to comment.