/make/arduino-mk

To get this branch, use:
bzr branch http://bzr.ed.am/make/arduino-mk

« back to all changes in this revision

Viewing changes to arduino.mk

  • Committer: edam
  • Date: 2012-01-03 20:08:42 UTC
  • Revision ID: edam@waxworlds.org-20120103200842-mzqkg2bewooqxc2w
fixed comments for publishing

Show diffs side-by-side

added added

removed removed

27
27
#_______________________________________________________________________________
28
28
#
29
29
#
30
 
# This is a general purpose makefile for use with Arduino (see
31
 
# http://arduino.cc/) hardware and software.  It works with the
32
 
# arduino-1.0 release and requires that to be downloaded separately.
33
 
# It can be downloaded from http://ed.am/dev/make/arduino-makefile
34
 
# where you can also find more information and documentation on it's
35
 
# use.  The following text can only really be considered a reference
36
 
# to it's use.
 
30
# This is a general purpose makefile for use with Arduino hardware and
 
31
# software.  It works with the arduino-1.0 release and requires that
 
32
# software to be downloaded separately (see http://arduino.cc/).  To
 
33
# download the latest version of this makefile, visit the following
 
34
# website, where you can also find more information and documentation
 
35
# on it's use.  The following text can only really be considered a
 
36
# reference to it's use.
 
37
#
 
38
#   http://ed.am/dev/make/arduino-makefile
37
39
#
38
40
# To install, it is suggested that you keep arduino.mk somewhere and
39
41
# either symlink to it or include it in your make files.  I keep mine
46
48
# "Makefile" and run make as described below (remembering to specify a
47
49
# BOARD).  You would create the symlink like like so:
48
50
#
49
 
#       $ ln -s ~/src/arduino.mk Makefile
 
51
#   $ ln -s ~/src/arduino.mk Makefile
50
52
#
51
53
# The presence of a .ino or .pde file causes the arduino.mk to
52
54
# atuomatically determine va;ues for SOURCES, TARGET and LIBRARIES.
62
64
# default main() that calls init() and loop().  Here is an example
63
65
# Makefile:
64
66
#
65
 
#       SOURCES := main.cc foo.cc
66
 
#       LIBRARIES := EEPROM
67
 
#       include ~/src/arduino.mk
 
67
#   SOURCES := main.cc foo.cc
 
68
#   LIBRARIES := EEPROM
 
69
#   include ~/src/arduino.mk
68
70
#
69
71
# A complete list of all the settings you can use in your Makefile
70
72
# follows shortly.  It should be noted, however, that some variables
74
76
#
75
77
# When running make, you might want to specify the board type:
76
78
#
77
 
#       $ BOARD=pro5v make
 
79
#   $ BOARD=pro5v make
78
80
#
79
81
# Or in the environment:
80
82
#
81
 
#       $ export BOARD=pro5v
82
 
#       $ make
 
83
#   $ export BOARD=pro5v
 
84
#   $ make
83
85
#
84
86
# For a list of available board types, run `make boards`.
85
87