fixup makefiles
[model-checker-benchmarks.git] / Makefile
index 028a9466e4e660f520b300101f720553b8f3e01f..7ff12dc9316fad59a633e573b1f1643a5c858e8b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,13 @@
 DIRS := barrier mcs-lock
 
-.PHONY: subdirs $(DIRS)
+.PHONY: $(DIRS)
 
 all: $(DIRS)
 
+clean: $(DIRS:%=clean-%)
+
 $(DIRS):
        $(MAKE) -C $@
+
+clean-%:
+       -$(MAKE) -C $* clean