aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2011-10-14 05:45:42 +0200
committerFelix Lange <fjl@twurst.com>2011-10-14 05:45:42 +0200
commitbd5145368593e09460d4461256ee4f934b2ebf26 (patch)
tree471852782d61d64bede27d67552eb79af0a598aa /Makefile
parent90640c1aed302fd83a500bb9ccdfb6cf7b481112 (diff)
downloadermacs-fork-bd5145368593e09460d4461256ee4f934b2ebf26.tar.gz
remove cruft
cruft includes: - module header comments (yikes..) - author attributes (sorry luke) - old guard tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 15 insertions, 2 deletions
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)