]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/hbugs/Makefile
* added new .ml files to be ignored
[helm.git] / helm / hbugs / Makefile
index da34da0ac65a632e2c1f2c77beec8b690711b415..133d009f33633a5e35b1e2f52306a8eb49d631e0 100644 (file)
@@ -1,17 +1,30 @@
-DIRS = common broker
+DIRS = meta common broker client tutors
 
 DIRS_BYTE = $(patsubst %,%.byte,$(DIRS))
 DIRS_OPT = $(patsubst %,%.opt,$(DIRS))
 DIRS_CLEAN = $(patsubst %,%.clean,$(DIRS))
+DIRS_DISTCLEAN = $(patsubst %,%.distclean,$(DIRS))
 all: byte
-byte: $(DIRS_BYTE)
-opt: $(DIRS_OPT)
+meta:
+       $(MAKE) -C meta/
+byte: meta $(DIRS_BYTE)
+opt: meta $(DIRS_OPT)
 world: byte opt
 clean: $(DIRS_CLEAN)
+distclean: $(DIRS_DISTCLEAN)
 %.byte:
        $(MAKE) -C $*/ all
 %.opt:
        $(MAKE) -C $*/ opt
 %.clean:
        $(MAKE) -C $*/ clean
-.PHONY: all byte opt world clean
+%.distclean:
+       $(MAKE) -C $*/ distclean
+start:
+       $(MAKE) -C broker/ start
+       $(MAKE) -C tutors/ start
+stop:
+       $(MAKE) -C tutors/ stop
+       $(MAKE) -C broker/ stop
+restart: stop start
+.PHONY: all byte opt world clean meta restart start stop