/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

  1. ERL ?= erl
  2. EBIN_DIRS := $(wildcard deps/*/ebin)
  3. APP := skel
  4. all: erl ebin/$(APP).app
  5. erl:
  6. @$(ERL) -pa $(EBIN_DIRS) -noinput +B \
  7. -eval 'case make:all() of up_to_date -> halt(0); error -> halt(1) end.'
  8. docs:
  9. @erl -noshell -run edoc_run application '$(APP)' '"."' '[]'
  10. clean:
  11. @echo "removing:"
  12. @rm -fv ebin/*.beam ebin/*.app
  13. ebin/$(APP).app: src/$(APP).app
  14. cp src/$(APP).app $@