Skip to content

Instantly share code, notes, and snippets.

@ladislas
Created August 8, 2013 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ladislas/6185721 to your computer and use it in GitHub Desktop.
Save ladislas/6185721 to your computer and use it in GitHub Desktop.
Arduino-Makefile
# Everything gets built in here (include BOARD_TAG now)
ifndef OBJDIR
OBJDIR = $(PROJECT_DIR)/bin/$(BOARD_TAG)/$(CURRENT_DIR)
$(call show_config_variable,OBJDIR,[COMPUTED],(from BOARD_TAG))
else
$(call show_config_variable,OBJDIR,[USER])
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment