Added Makefile
This commit is contained in:
parent
1a9929e632
commit
b0110e5963
19
Makefile
Normal file
19
Makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user