Sha256: 887b9bb9f9dee27a0fcddb29711f2fc7da874f3f41af46ab0350885de8adbe57

Contents?: true

Size: 890 Bytes

Versions: 4

Compression:

Stored size: 890 Bytes

Contents

LIBDIR					= `erl -eval 'io:format("~s~n", [code:lib_dir()])' -s init stop -noshell`
VERSION					= <%= version -%>
CC							= erlc
ERL							= erl
EBIN						= ebin
CFLAGS					= -I include -pa $(EBIN)
COMPILE					= $(CC) $(CFLAGS) -o $(EBIN)
EBIN_DIRS				= $(wildcard deps/*/ebin)
WEB_DIR					= web/
APP							= <%= app_name %>

all: ebin compile boot

compile:
	@$(ERL) -pa $(EBIN_DIRS) -noinput +B -eval 'case make:all() of up_to_date -> halt(0); error -> halt(1) end.'

edoc:
	@echo Generating $(APP) documentation from srcs
	@$(ERL) -noinput -eval 'edoc:application($(APP), "./", [{doc, "doc/"}, {files, "src/"}])' -s erlang halt
	
boot:
	(cd ebin; erl -pa ebin -noshell -run make_boot write_scripts $(APP))

start_all:
	(cd ebin; erl -pa ebin -noshell -boot $(APP))

ebin:
	@mkdir ebin

clean:
	rm -rf ebin/*.beam ebin/erl_crash.dump erl_crash.dump ebin/*.boot ebin/*.rel ebin/*.script 

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
auser-skelerl-0.0.5 generators/makefile/templates/Makefile
auser-skelerl-0.0.6 generators/makefile/templates/Makefile
auser-skelerl-0.0.7 generators/makefile/templates/Makefile
skelerl-0.0.5 generators/makefile/templates/Makefile