Added support for blocks.
[antimony.git] / Makefile
blob90a88eef2881e07efb8f7898508d31a1fd3f2ec3
1 include Makefile.cfg
3 SUBDIRS = bin doc lib/antimony test
4 TARGETS = Makefile.cfg
6 default : lib compiler
8 all : compiler test rdoc
10 clean :
11 for dir in $(SUBDIRS); do (cd "$$dir" && $(MAKE) clean); done
13 compiler : lib
14 cd bin && $(MAKE)
16 distclean :
17 for dir in $(SUBDIRS); do (cd "$$dir" && $(MAKE) distclean); done
18 -rm $(TARGETS)
20 doc :
21 cd doc && $(MAKE)
23 install :
24 cd lib && $(MAKE) install
25 cd bin && $(MAKE) install
26 cd doc && $(MAKE) install
28 lib :
29 cd lib/antimony && $(MAKE)
31 rdoc :
32 cd doc && $(MAKE) rdoc
34 test : lib compiler
35 cd test && $(MAKE) test
37 Makefile.cfg : configure VERSION
38 ./configure
40 .PHONY : all compiler clean default distclean doc install lib rdoc test