aboutsummaryrefslogtreecommitdiffstats
path: root/support/codeblocks
diff options
context:
space:
mode:
Diffstat (limited to 'support/codeblocks')
-rw-r--r--support/codeblocks/libmaple.cbp22
-rwxr-xr-xsupport/codeblocks/program_flash.sh2
-rwxr-xr-xsupport/codeblocks/program_ram.sh2
3 files changed, 7 insertions, 19 deletions
diff --git a/support/codeblocks/libmaple.cbp b/support/codeblocks/libmaple.cbp
index f4ed7e5..4766275 100644
--- a/support/codeblocks/libmaple.cbp
+++ b/support/codeblocks/libmaple.cbp
@@ -15,8 +15,8 @@
<Option compiler="gcc" />
<Option use_console_runner="0" />
<MakeCommands>
- <Build command="$make -f $makefile $target" />
- <CompileFile command="$make -f $makefile $file" />
+ <Build command="$make -f $makefile MAPLE_TARGET=$target" />
+ <CompileFile command="$make -f $makefile MAPLE_TARGET=$target $file" />
<Clean command="$make -f $makefile clean" />
<DistClean command="$make -f $makefile distclean$target" />
</MakeCommands>
@@ -28,24 +28,12 @@
<Option compiler="gcc" />
<Option use_console_runner="0" />
<MakeCommands>
- <Build command="$make -f $makefile $target" />
- <CompileFile command="$make -f $makefile $file" />
+ <Build command="$make -f $makefile MAPLE_TARGET=$target" />
+ <CompileFile command="$make -f $makefile MAPLE_TARGET=$target $file" />
<Clean command="$make -f $makefile clean" />
- <DistClean command="$make -f $makefile distclean$target" />
+ <DistClean command="$make -f $makefile distclean" />
</MakeCommands>
</Target>
- <Target title="Release">
- <Option output="bin/Release/libmaple" prefix_auto="1" extension_auto="1" />
- <Option object_output="obj/Release/" />
- <Option type="1" />
- <Option compiler="gcc" />
- <Compiler>
- <Add option="-O2" />
- </Compiler>
- <Linker>
- <Add option="-s" />
- </Linker>
- </Target>
</Build>
<Compiler>
<Add option="-Wall" />
diff --git a/support/codeblocks/program_flash.sh b/support/codeblocks/program_flash.sh
index 791cbe6..9dfe9f1 100755
--- a/support/codeblocks/program_flash.sh
+++ b/support/codeblocks/program_flash.sh
@@ -1,4 +1,4 @@
#/usr/bin/env sh
cd ../..
-make program_flash
+make MAPLE_TARGET=flash install
diff --git a/support/codeblocks/program_ram.sh b/support/codeblocks/program_ram.sh
index ef0835c..55fe73d 100755
--- a/support/codeblocks/program_ram.sh
+++ b/support/codeblocks/program_ram.sh
@@ -1,4 +1,4 @@
#/usr/bin/env sh
cd ../..
-make program_ram
+make MAPLE_TARGET=ram install