Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

43 righe
443 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. devmarker:
  11. @touch .jiffy.dev
  12. depends: devmarker
  13. @if test ! -d ./deps/proper; then \
  14. $(REBAR) get-deps; \
  15. fi
  16. build: depends
  17. $(REBAR) compile
  18. eunit:
  19. $(REBAR) eunit skip_deps=true
  20. check: build eunit
  21. %.beam: %.erl
  22. erlc -o test/ $<
  23. .PHONY: all clean distclean depends build etap eunit check