diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -1,4 +1,17 @@ -SUBDIRS = src mods/src +ERL = erl +SRC_DIR = $(CURDIR)/src +EBIN_DIR = $(CURDIR)/ebin -include ../../support/subdir.mk +.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) |