Makefile 608 B

123456789101112131415161718192021
  1. RELEASE := kakaranet
  2. COOKIE := sample
  3. APPS := kernel stdlib sasl sync gproc cowboy mimetypes ranch erlydtl n2o face db server
  4. VER := 1.0.0
  5. VM := rels/web/files/vm.args
  6. SYS := rels/web/files/sys.config
  7. PLT_NAME := ~/.n2o_dialyzer.plt
  8. ERL_ARGS := -args_file $(VM) -config $(SYS)
  9. RUN_DIR ?= rels/web/devbox
  10. LOG_DIR ?= rels/web/devbox/logs
  11. N2O := deps/n2o/priv/static
  12. APP := apps/face/priv/static/nitrogen
  13. default: get-deps compile static-link
  14. static-link:
  15. rm -rf $(N2O)
  16. rm -rf $(APP)
  17. ln -s ../../n2o_scripts $(N2O)
  18. ln -s ../../../../deps/n2o/priv/static/n2o $(APP)
  19. include otp.mk