exercism/lfe/leap/Makefile

20 lines
393 B
Makefile
Raw Permalink Normal View History

2016-08-13 23:20:14 +00:00
ERL = $(shell which erl)
LFETOOL = $(shell which lfetool)
REBAR = $(shell which rebar)
ifeq ($(ERL),)
$(error Can't find Erlang executable 'erl')
else ifeq ($(LFETOOL),)
$(error Can't find lfetool)
else ifeq ($(REBAR),)
$(error Can't find rebar)
endif
get-deps: ; $(REBAR) get-deps compile
clean: ; rebar clean
compile: ; $(REBAR) compile
test: compile; $(LFETOOL) tests unit