/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 Makefile

  • Committer: Tim Marston
  • Date: 2014-01-15 19:35:45 UTC
  • Revision ID: tim@ed.am-20140115193545-m52ejwu8zgnn7hcm
if perl is installed, do case-insensitive matching of BOARD name; increase
compatibility with 1.5 SDK (pass board and arch compiler directives; build with
-fpermissive cause the SDK includes an old compiler)

Show diffs side-by-side

added added

removed removed

1
 
# makefile to package the arduino makefile
2
 
 
3
 
FILES := \
4
 
        arduino.mk \
5
 
        NEWS \
6
 
        THANKS \
7
 
        TODO
8
 
 
9
 
VERSION := $(shell sed -n '5s/^\#.* //p' arduino.mk)
10
 
 
11
 
all: 
12
 
        tar -cJvf arduino-mk_$(VERSION).txz $(FILES)