aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-07-07 16:12:19 -0400
committerbnewbold <bnewbold@robocracy.org>2010-07-07 16:55:32 -0400
commitbb7c1d12f54c2befc5632719ec4ad17c9e4d1215 (patch)
tree98a232a7e96fce88ae96f67f51f54d44e4143f3e /Makefile
parent2dd4b9db68c15c3be477688b215244c5a5c2ff11 (diff)
downloadlibrambutan-bb7c1d12f54c2befc5632719ec4ad17c9e4d1215.tar.gz
librambutan-bb7c1d12f54c2befc5632719ec4ad17c9e4d1215.zip
added helper targets, more verbose, codeblocks fix
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 37f617a..51123ba 100644
--- a/Makefile
+++ b/Makefile
@@ -67,7 +67,7 @@ $(foreach m,$(LIBMAPLE_MODULES),$(eval $(call LIBMAPLE_MODULE_template,$(m))))
include support/make/build-targets.mk
# Fake targets
-POSSIBLE_TARGETS := install sketch clean help debug cscope tags ctags
+POSSIBLE_TARGETS := install sketch clean help debug cscope tags ctags ram flash jtag
.PHONY: $(POSSIBLE_TARGETS)
install: sketch
@@ -108,3 +108,15 @@ tags:
ctags:
ctags-exuberant -R .
@echo "Made tags file for VIM code browsing"
+
+ram:
+ @env - MAPLE_TARGET=ram
+ @echo "Memory target set to RAM for this session"
+
+flash:
+ @env - MAPLE_TARGET=flash
+ @echo "Memory target set to FLASH for this session"
+
+jtag:
+ @env - MAPLE_TARGET=jtag
+ @echo "Memory target set to JTAG for this session"