summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..06f5f71
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+
+DIRS = alarmdevtest ashmemtest-basic ashmemtest-expanded logger #sync-basic does not build atm
+CLEANDIRS = $(foreach dir,$(DIRS),clean-$(dir))
+
+.PHONY: all clean $(DIRS) $(CLEANDIRS)
+
+all: $(DIRS)
+$(DIRS):
+ $(MAKE) -C $@
+
+clean: $(CLEANDIRS)
+$(CLEANDIRS):
+ $(MAKE) -C $(@:clean-%=%) clean
+
+help:
+ @echo 'targets:'
+ @echo ' all: builds all tests'
+ @echo ' clean: cleans all generatd files'