Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 25 lines (20 sloc) 0.556 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
EBIN_DIR=ebin
SOURCE_DIR=src
INCLUDE_DIR=include
DOC_DIR=doc

#ERLC_FLAGS=-W0 -Ddebug +debug_info
ERLC_FLAGS=-W
ERLC=erlc -I $(INCLUDE_DIR) -o $(EBIN_DIR) $(ERLC_FLAGS) $(SOURCE_DIR)
ERL=erl -I -pa ebin -noshell -eval

all: compile docs

compile:
mkdir -p $(EBIN_DIR)
$(ERLC)/*.erl

docs:
$(ERL) -noshell -run edoc file $(SOURCE_DIR)/leex.erl -run init stop
$(ERL) -noshell -run edoc_run application "'Leex'" '"."' '[no_packages]'
mv $(SOURCE_DIR)/*.html $(DOC_DIR)/

clean:
rm -rf erl_crash.dump
rm -rf $(EBIN_DIR)/*.beam
rm -rf $(DOC_DIR)/*.html
Something went wrong with that request. Please try again.