summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 3 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 0c60496..0858f10 100644
--- a/SConstruct
+++ b/SConstruct
@@ -8,8 +8,8 @@ SConscript('laks/build_rules')
env.SelectMCU('stm32f303rc')
-env.Firmware('arcin.elf', ['main.cpp'], LINK_SCRIPT = 'arcin.ld')
+env.Firmware('arcin.elf', Glob('arcin/*.cpp'), LINK_SCRIPT = 'arcin/arcin.ld')
-env.Firmware('bootloader.elf', ['bootloader.cpp'], LINK_SCRIPT = 'bootloader.ld')
+env.Firmware('bootloader.elf', Glob('bootloader/*.cpp'), LINK_SCRIPT = 'bootloader/bootloader.ld')
-env.Firmware('test.elf', ['test.cpp'])
+env.Firmware('test.elf', Glob('test/*.cpp'))