Added Makefile

This commit is contained in:
Francois Ribemont 2016-02-24 21:21:42 +00:00
parent 1a9929e632
commit b0110e5963

19
Makefile Normal file
View File

@ -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