Skip to content

Commit

Permalink
Add basic Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Fletcher committed Mar 13, 2009
0 parents commit 6022c2b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
SOURCE_FILES := $(wildcard src/*.erl)


all: ebin

ebin: $(SOURCE_FILES:src/%.erl=ebin/%.beam)

ebin/%.beam: src/%.erl
@test -d ebin || mkdir ebin
erlc -W +debug_info +warn_unused_vars +warn_unused_import -o ebin $<

clean:
@rm -rf ebin erl_crash.dump

0 comments on commit 6022c2b

Please sign in to comment.