/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
- ERL ?= erl
- EBIN_DIRS := $(wildcard deps/*/ebin)
- APP := skel
- all: erl ebin/$(APP).app
- erl:
- @$(ERL) -pa $(EBIN_DIRS) -noinput +B \
- -eval 'case make:all() of up_to_date -> halt(0); error -> halt(1) end.'
- docs:
- @erl -noshell -run edoc_run application '$(APP)' '"."' '[]'
- clean:
- @echo "removing:"
- @rm -fv ebin/*.beam ebin/*.app
- ebin/$(APP).app: src/$(APP).app
- cp src/$(APP).app $@