From e7d48fe500f6ed676ee1b212ebd61408bced1c5b Mon Sep 17 00:00:00 2001 From: lukeg Date: Fri, 21 Feb 2003 19:01:14 +0000 Subject: *** empty log message *** --- src/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/Makefile (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..0e2630d --- /dev/null +++ b/src/Makefile @@ -0,0 +1,21 @@ +include ../../../support/include.mk + +ERLC_FLAGS += -I ../.. -pa ../ebin/ + +SCRIPT=../bin/ermacs +SED_EXPR = s\\%BASEDIR%\\`pwd`/..\\ + +all: $(ERL_OBJECTS) $(SCRIPT) + +# edit_transform has to be built first. This rule is actually +# circular, but that seems okay with GNU make. +$(ERL_OBJECTS): ../ebin/edit_transform.beam + +$(SCRIPT): ermacs.in + sed ${SED_EXPR} < $< > $@ + chmod +x $@ + +clean: + -rm -f $(ERL_OBJECTS) + -rm -f ../bin/ermacs + -- cgit v1.2.3