aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoriperry <iperry@749a229e-a60e-11de-b98f-4500b42dc123>2010-01-10 13:22:52 +0000
committeriperry <iperry@749a229e-a60e-11de-b98f-4500b42dc123>2010-01-10 13:22:52 +0000
commitf1598e62ac2cdd4a6077aed6ca200743a4de59e5 (patch)
treee74a17764c8d726610e458f6ac2564f27c7e160b /Makefile
parentc7163bee3581d3ef28dd2fc2ca81219dc52ad45e (diff)
downloadlibrambutan-f1598e62ac2cdd4a6077aed6ca200743a4de59e5.tar.gz
librambutan-f1598e62ac2cdd4a6077aed6ca200743a4de59e5.zip
enabled serial3
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@109 749a229e-a60e-11de-b98f-4500b42dc123
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 8260770..3f45b5f 100644
--- a/Makefile
+++ b/Makefile
@@ -109,16 +109,15 @@ _CPPOBJ = $(boop:.cpp=.o)
COBJ = $(patsubst %, $(BUILD_PATH)/%,$(_COBJ))
CPPOBJ = $(patsubst %, $(BUILD_PATH)/%,$(_CPPOBJ))
-.PHONY: run cscope clean info
-
+.PHONY: run cscope clean info program_ram program_flash program_jtag
info:
@echo "Maple library help"
@echo "------------------:"
@echo "Compile targets:"
- @echo " ram: Compile sketch code for RAM to be loaded over the bootloader"
- @echo " flash: Compile sketch code for flash to be loaded over the bootloader"
- @echo " jtag: Compile sketch code for flash to be loaded over JTAG"
+ @echo " ram: Compile sketch code for RAM to be loaded over the bootloader"
+ @echo " flash: Compile sketch code for flash to be loaded over the bootloader"
+ @echo " jtag: Compile sketch code for flash to be loaded over JTAG"
@echo ""
@echo "Programming targets:"
@echo " program_ram: Upload code to RAM via bootloader"
@@ -138,13 +137,11 @@ $(OUTDIRS):
# actual build rules
$(COBJ) : $(BUILD_PATH)/%.o : %.c
@echo $(MSG_COMPILING) $<
- @echo $(PATH)
$(CC) $(CFLAGS) -c $< -o $@
@echo
$(CPPOBJ) : $(BUILD_PATH)/%.o : %.cpp
@echo $(MSG_COMPILING) $<
- @echo $(PATH)
$(CPP) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
@echo