diff options
| author | ssmith | 2006-05-07 20:22:22 -0700 |
|---|---|---|
| committer | ssmith | 2006-05-07 20:22:22 -0700 |
| commit | be5e8817ca5570b66f57f2d56148c88ae73a8531 (patch) | |
| tree | 52119c8c318044871e3063930d9bbdb84e87b415 /Makefile | |
Initial version of bencode module.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7e34b06 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ + +EUNITPATH=/home/ssmith/software/eunit-1.1 + +ERLC=erlc +ERLFLAGS=-I$(EUNITPATH)/inc + +SRC=bencode.erl tests.erl +BEAM=$(SRC:.erl=.beam) + +all: $(BEAM) + +%.beam : %.erl + $(ERLC) $(ERLFLAGS) $< + +test: $(BEAM) + erl -noshell -pa $(EUNITPATH)/ebin -s tests -s init stop + +clean: + rm -f $(BEAM) *~ |
