25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
318 B

  1. REBAR?=./rebar
  2. all: build
  3. clean:
  4. $(REBAR) clean
  5. rm -rf logs
  6. rm -rf .eunit
  7. rm -f test/*.beam
  8. distclean: clean
  9. git clean -fxd
  10. build:
  11. $(REBAR) compile
  12. eunit:
  13. $(REBAR) eunit skip_deps=true
  14. check: build eunit
  15. %.beam: %.erl
  16. erlc -o test/ $<
  17. .PHONY: all clean distclean depends build etap eunit check