PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/deps/webmachine/priv/skel/Makefile

https://code.google.com/p/zotonic/
Makefile | 19 lines | 14 code | 5 blank | 0 comment | 0 complexity | 90fd78a22d2a6282d7b23b7eb72c362f MD5 | raw file
 1ERL          ?= erl
 2EBIN_DIRS    := $(wildcard deps/*/ebin)
 3APP          := skel
 4
 5all: erl ebin/$(APP).app
 6
 7erl:
 8	@$(ERL) -pa $(EBIN_DIRS) -noinput +B \
 9	  -eval 'case make:all() of up_to_date -> halt(0); error -> halt(1) end.'
10
11docs:
12	@erl -noshell -run edoc_run application '$(APP)' '"."' '[]'
13
14clean: 
15	@echo "removing:"
16	@rm -fv ebin/*.beam ebin/*.app
17
18ebin/$(APP).app: src/$(APP).app
19	cp src/$(APP).app $@