summaryrefslogtreecommitdiff
path: root/Makefile
blob: e10781e1db7fab99f6c372774d94b206c3365682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#############################################################################
# Copyright (c) 2013 Linaro
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
#     Linaro <linaro-dev@lists.linaro.org>
#############################################################################

DIRS = alarmdevtest ashmemtest-basic ashmemtest-expanded logger evdevtest #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'