-
Notifications
You must be signed in to change notification settings - Fork 57
/
Jamfile
29 lines (24 loc) · 900 Bytes
/
Jamfile
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
ORIGINAL_DIR = $(HOME)/Source/Arduino/1284P/FreeRTOS ;
rule Files
{
for _i in $(>)
{
if ( $(_i:B) != FreeRTOSConfig )
{
local _o = $(_i:D=$(<)) ;
File $(_o) : $(_i) ;
Depends $(_o) : $(<) ;
Clean clean : $(_o) ;
MkDir $(<) ;
Depends files : $(_o) ;
}
}
}
Files $(PWD) : [ GLOB $(ORIGINAL_DIR) : *.c ] [ GLOB $(ORIGINAL_DIR)/include : *.h ] ;
Files $(PWD)/examples/blinky : [ GLOB $(ORIGINAL_DIR)/ex01_blinky : *.cpp *.pde *.ino ] ;
Files $(PWD)/examples/twotasks : [ GLOB $(ORIGINAL_DIR)/ex02_twotasks : *.cpp *.pde *.ino ] ;
Files $(PWD)/examples/buttonled : [ GLOB $(ORIGINAL_DIR)/ex03_buttonled : *.cpp *.pde *.ino ] ;
Files $(PWD)/examples/manybuttons : [ GLOB $(ORIGINAL_DIR)/ex04_manybuttons : *.cpp *.pde *.ino ] ;
Files $(PWD)/examples/pingpair : [ GLOB $(ORIGINAL_DIR)/pingpair_freertos : *.cpp *.pde *.ino *.h ] ;
SubDir TOP ;
SubInclude TOP examples ;