Makefile 407 B

123456789101112131415161718192021
  1. SHELL=/bin/sh
  2. EFLAGS=-pa ebin -pa ../erlang-fmt/ebin -pa ../eunit/ebin
  3. all: compile
  4. compile: clean
  5. test -d ebin || mkdir ebin
  6. erl $(EFLAGS) -make
  7. clean:
  8. rm -rf ebin erl_crash.dump
  9. test: compile
  10. erl $(EFLAGS) -noshell -s crypto -s oauth_unit test -s init stop
  11. termie: compile
  12. erl $(EFLAGS) -noshell -s crypto -s inets -s oauth_termie test -s init stop
  13. i: compile
  14. erl $(EFLAGS) -s crypto -s inets