Makefile 712 B

123456789101112131415161718192021222324252627282930313233
  1. # See LICENSE for licensing information.
  2. PROJECT = cowboy
  3. # Options.
  4. ERLC_OPTS ?= -Werror +debug_info +warn_export_all +warn_export_vars \
  5. +warn_shadow_vars +warn_obsolete_guard +warn_missing_spec
  6. COMPILE_FIRST = cowboy_middleware cowboy_sub_protocol
  7. CT_SUITES = eunit http spdy ws
  8. PLT_APPS = crypto public_key ssl
  9. # Dependencies.
  10. DEPS = cowlib ranch
  11. dep_cowlib = pkg://cowlib 0.6.1
  12. dep_ranch = pkg://ranch 0.9.0
  13. TEST_DEPS = ct_helper gun
  14. dep_ct_helper = https://github.com/extend/ct_helper.git master
  15. dep_gun = pkg://gun master
  16. # Standard targets.
  17. include erlang.mk
  18. # Extra targets.
  19. .PHONY: autobahn
  20. autobahn: clean clean-deps deps app build-tests
  21. @mkdir -p logs/
  22. @$(CT_RUN) -suite autobahn_SUITE