diff options
| author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-09-01 15:05:32 -0400 |
|---|---|---|
| committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-09-07 23:33:59 -0400 |
| commit | eae59f7a57eb48bead98d5827616113236cbdfcf (patch) | |
| tree | 1cf4893865c245659c02618b48980c2f8aa87081 /Makefile | |
| parent | 104c9625eaf0f3485fe2075a1f4e58377bc35ad2 (diff) | |
Makefile: tweak clean, add mrproper, make help more helpful.
Remove doxygen from clean; no sense killing the docs just because you
want to change boards.
Add new "mrproper" target to nuke all autogenerated files; currently,
this is just the build/ and doxygen/ directories.
Make a note of BOARD env. variable and doxygen, mrproper targets from
help target.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -103,7 +103,7 @@ $(foreach m,$(LIBMAPLE_MODULES),$(eval $(call LIBMAPLE_MODULE_template,$(m)))) # Main target include $(SRCROOT)/build-targets.mk -.PHONY: install sketch clean help debug cscope tags ctags ram flash jtag doxygen +.PHONY: install sketch clean help debug cscope tags ctags ram flash jtag doxygen mrproper # Target upload commands UPLOAD_ram := $(SUPPORT_PATH)/scripts/reset.py && \ @@ -130,12 +130,19 @@ endif sketch: build-check MSG_INFO $(BUILD_PATH)/$(BOARD).bin clean: - rm -rf build doxygen + rm -rf build + +mrproper: clean + rm -rf doxygen help: @echo "" @echo " libmaple Makefile help" @echo " ----------------------" + @echo " " + @echo " Be sure to set BOARD if not compiling for Maple (e.g." + @echo " use BOARD=maple_mini for mini, etc.)" + @echo " " @echo " Compile targets (default MEMORY_TARGET=flash):" @echo " ram: Compile sketch code to ram" @echo " flash: Compile sketch code to flash" @@ -149,6 +156,8 @@ help: @echo " debug: Start an openocd gdb server, port 3333" @echo " clean: Remove all build and object files" @echo " help: Show this message" + @echo " doxygen: Build Doxygen HTML and XML documentation" + @echo " mrproper: Remove all generated files" @echo " " debug: |
