aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: 06dec9bf9980e00a0f8605420df94fcb6776d542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ERL          = erl
SRC_DIR      = $(CURDIR)/src
EBIN_DIR     = $(CURDIR)/ebin

.PHONY: all clean shell

all:
	$(ERL) -noinput -eval "case make:all() of up_to_date -> halt(0); error -> halt(1) end."

clean:
	rm -f $(EBIN_DIR)/*.beam

run: all
	./bin/ermacs

shell: all
	$(ERL) -pa $(EBIN_DIR)