Makefile 430 B

123456789101112131415161718192021
  1. SHELL=/bin/sh
  2. EFLAGS=-pa ebin -pa ../erlang-fmt/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 -eval 'crypto:start(), oauth_test:all(), c:q().'
  11. termie: compile
  12. erl $(EFLAGS) -noshell -eval 'crypto:start(), inets:start(), oauth_test:termie(), c:q().'
  13. i: compile
  14. erl $(EFLAGS) -eval 'crypto:start(), inets:start().'