From be5e8817ca5570b66f57f2d56148c88ae73a8531 Mon Sep 17 00:00:00 2001 From: ssmith Date: Sun, 7 May 2006 20:22:22 -0700 Subject: Initial version of bencode module. --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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) *~ -- cgit v1.2.3