~statik/mup/stop-the-line

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Elliot Murphy
  • Date: 2009-04-04 03:27:38 UTC
  • mfrom: (29.1.5 trunk)
  • Revision ID: elliot@elliotmurphy.com-20090404032738-8warffvftiafzt5b
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
all: subdirs
16
16
 
17
17
run: all
18
 
        @erl -pa $(PWD)/ebin -s mup -mup config_path $(CONFIG_PATH)
 
18
        @erl -pa $(PWD)/ebin -s inets -s mup -mup config_path $(CONFIG_PATH)
19
19
 
20
20
subdirs:
21
21
        @for d in $(SUB_DIRECTORIES); do \
26
26
        @for d in $(SUB_DIRECTORIES); do \
27
27
                (cd $$d; $(MAKE) clean); \
28
28
        done
 
29
        rm -f *.COVER.html
 
30
        rm -f *.coverdata
 
31
        rm -f erl_crash.dump
29
32
 
30
33
docs:
31
34
        erl -noshell -eval "edoc:application($(APPNAME), \".\", [$(DOC_OPTS)])" -s init stop
32
35
 
33
 
#test: subdirs
34
 
#       @echo Running tests...
35
 
#       for file in ebin/*_test.beam; do \
36
 
#               erl -noshell -pa ebin -s $$(basename $$file .beam) test -s init stop; \
37
 
#       done
38
 
#
39
 
 
40
36
test: subdirs
41
37
        @echo Running tests...
42
 
        @erl -noshell -pa ebin -s $(TEST) test -s init stop
 
38
        @erl -noshell -pa ebin -s $(TEST) test_coverage -s init stop
 
39
 
 
40
webtool:
 
41
        erl -pa ebin -s webtool start