From b0110e596399f7621a611db1233462caef736239 Mon Sep 17 00:00:00 2001 From: Francois Ribemont Date: Wed, 24 Feb 2016 21:21:42 +0000 Subject: [PATCH] Added Makefile --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..623b861 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +# Makefile +LIBDIR = `erl -eval \ + 'io:format("~s~n", [code:lib_dir()])' -s init stop -noshell` +VERSION = 1.0.3 +CC = erlc +ERL = erl +EBIN = ebin +CFLAGS = -I include -pa $(EBIN) +COMPILE = $(CC) $(CFLAGS) -o $(EBIN) +EBIN_DIRS = $(wildcard deps/*/ebin) + +all: compile +start: all start_all + +compile: + @$(ERL) -make + +clean: + rm -rf ebin/*.beam