From bd5145368593e09460d4461256ee4f934b2ebf26 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 14 Oct 2011 05:45:42 +0200 Subject: remove cruft cruft includes: - module header comments (yikes..) - author attributes (sorry luke) - old guard tests --- Makefile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1e41f82..06dec9b 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3