Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (36 sloc) 991 Bytes
ERL=erl +A 4 +K true
APP_NAME=ems
NODE_NAME=$(APP_NAME)@`hostname`
VSN=0.1
MXMLC=mxmlc
all: ebin/erlmedia.app
erl -make
ebin/erlmedia.app:
cp src/erlmedia.app ebin/erlmedia.app
doc:
$(ERL) -pa `pwd`/ebin \
-noshell \
-run edoc_run application "'$(APP_NAME)'" '"."' '[{def,{vsn,"$(VSN)"}}]'
clean:
rm -fv ebin/*.beam
rm -fv erl_crash.dump
clean-doc:
rm -fv doc/*.html
rm -fv doc/edoc-info
rm -fv doc/*.css
player:
$(MXMLC) -default-background-color=#000000 -default-frame-rate=24 -default-size 960 550 -optimize=true -output=wwwroot/player/player.swf wwwroot/player/player.mxml
run: ebin/erlmedia.app
$(ERL) +bin_opt_info +debug \
-pa `pwd`/ebin -pa `pwd`/deps/*/ebin \
-boot start_sasl \
-s $(APP_NAME) \
-name $(NODE_NAME)
start: ebin/erlmedia.app
$(ERL) -pa `pwd`/ebin -pa `pwd`/deps/*/ebin \
-sasl sasl_error_logger '{file, "sasl.log"}' \
-kernel error_logger '{file, "erlang.log"}' \
-boot start_sasl \
-s $(APP_NAME) \
-name $(NODE_NAME) \
-detached
Something went wrong with that request. Please try again.