PageRenderTime 47ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/priv/skel/src/Makefile

http://github.com/basho/mochiweb
Makefile | 33 lines | 24 code | 9 blank | 0 comment | 0 complexity | 35cfc93c91ad82f204773f74d60595e6 MD5 | raw file
Possible License(s): MIT
  1. include ../support/include.mk
  2. APPLICATION=skel
  3. DOC_OPTS={dir,\"../doc\"}
  4. TEST_PLT=$(TEST_DIR)/dialyzer_plt
  5. all: $(EBIN_FILES)
  6. debug:
  7. $(MAKE) DEBUG=-DDEBUG
  8. clean:
  9. rm -rf $(EBIN_FILES)
  10. edoc:
  11. $(ERL) -noshell -pa ../ebin \
  12. -eval "edoc:application($(APPLICATION), \".\", [$(DOC_OPTS)])" \
  13. -s init stop
  14. test: $(EBIN_FILES)
  15. mkdir -p $(TEST_DIR);
  16. @../support/run_tests.escript $(EBIN_DIR) | tee $(TEST_DIR)/test.log
  17. $(TEST_PLT):
  18. mkdir -p $(TEST_DIR)
  19. cp $(DIALYZER_PLT) $(TEST_PLT)
  20. dialyzer --plt $(TEST_PLT) --add_to_plt -r ../deps/*/ebin
  21. clean_plt:
  22. rm $(TEST_PLT)
  23. dialyzer: $(TEST_PLT)
  24. dialyzer --src --plt $(TEST_PLT) -DNOTEST -DDIALYZER -c ../src | tee $(TEST_DIR)/dialyzer.log