X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fhbugs%2FMakefile;h=133d009f33633a5e35b1e2f52306a8eb49d631e0;hb=9f60b3b0f4460aec52ec241037f6c475b421dd15;hp=da34da0ac65a632e2c1f2c77beec8b690711b415;hpb=3c1a6c534877f7b7266809e4d92de02c7f1ee9d4;p=helm.git diff --git a/helm/hbugs/Makefile b/helm/hbugs/Makefile index da34da0ac..133d009f3 100644 --- a/helm/hbugs/Makefile +++ b/helm/hbugs/Makefile @@ -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