Blame view

Project/applications/Makefile 536 Bytes
Imanol-Mikel Barba Sabariego authored
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
29
30
31
#
# WiSmart Applications Makefile
#
# Copyright 2012 eConais S.A
# 

APPLICATION =   20lines \
				pachube \
				webserver \
				UART_RefDesign \
				UART_Example \
				LCD_Example \
				commander \
				1wThermo \
                audio

#
# Build everything (make all)
#
all:
	@for dir in $(APPLICATION); do \
		if [ -d $$dir ]; then (cd $$dir; $(MAKE) $@) fi \
	done
	
#
# Clean up project (make clean)
#
clean:
	@for dir in $(APPLICATION); do \
		if [ -d $$dir ]; then (cd $$dir; $(MAKE) $@) fi \
	done