diff options
| author | Ryan Pavlik <rpavlik@iastate.edu> | 2012-07-05 12:58:32 -0500 |
|---|---|---|
| committer | Ryan Pavlik <rpavlik@iastate.edu> | 2012-07-05 12:58:32 -0500 |
| commit | 13000c35ca5026d4ca8e22c3b973eabcd272ddec (patch) | |
| tree | 3a07020124d98ffaae3511264c1de2f9606d7353 /arduino-mk/Arduino.mk | |
| parent | 6ab91c23be6a9a7b34d1d634a0d5b12b9b5ca7f3 (diff) | |
Add info about setting USER_LIB_PATH and ARDMK_DIR relative to source.
Diffstat (limited to 'arduino-mk/Arduino.mk')
| -rw-r--r-- | arduino-mk/Arduino.mk | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index f3f2e32..88bf0c4 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -159,7 +159,19 @@ # BOARD_TAG - The ard-parse-boards tag for the board e.g. uno or mega # 'make show_boards' shows a list # -# Once this file has been created the typical workflow is just +# If you have your additional libraries relative to your source, rather +# than in your "sketchbook", also set USER_LIB_PATH, like this example: +# +# USER_LIB_PATH := $(realpath ../../libraries) +# +# If you've added the Arduino-Makefile repository to your git repo as a +# submodule (or other similar arrangement), you might have lines like this +# in your Makefile: +# +# ARDMK_DIR := $(realpath ../../tools/Arduino-Makefile) +# include $(ARDMK_DIR)/arduino-mk/Arduino.mk +# +# In any case, once this file has been created the typical workflow is just # # $ make upload # |
