flm01/server/api/webmachine/deps/mochiweb/src/Makefile

21 lines
355 B
Makefile
Raw Normal View History

2010-02-25 17:45:11 +00:00
include ../support/include.mk
APPLICATION=mochiweb
DOC_OPTS={dir,\"../doc\"}
all: $(EBIN_FILES)
debug:
$(MAKE) DEBUG=-DDEBUG
clean:
rm -rf $(EBIN_FILES)
edoc:
$(ERL) -noshell -pa ../ebin \
-eval "edoc:application($(APPLICATION), \".\", [$(DOC_OPTS)])" \
-s init stop
test: all
$(ERL) -noshell -pa ../ebin -s $(APPLICATION) test -s init stop