Makefile 244 Bytes
Newer Older
Sergey Lyubka's avatar
Sergey Lyubka committed
1 2 3
# Copyright (c) 2014 Cesanta Software
# All rights reserved

4
SUBDIRS = $(sort $(dir $(wildcard */)))
5
X = $(SUBDIRS)
6

7
.PHONY: $(SUBDIRS)
8

9
all: $(SUBDIRS)
10

11
$(SUBDIRS):
12
	@$(MAKE) -C $@
13

Sergey Lyubka's avatar
Sergey Lyubka committed
14
clean:
15
	for d in $(SUBDIRS) ; do $(MAKE) -C $$d clean ; done