Update copyright year to 2014 by running admin/update-copyright.
[emacs.git] / etc / srecode / ede-make.srt
blobf5233bed2fd37741a82d58bb9b57e11a5e0e8d64
1 ;; ede-make.srt --- SRecode templates for Makefiles used by EDE.
3 ;; Copyright (C) 2008-2014 Free Software Foundation, Inc.
5 ;; Author: Eric M. Ludlam <eric@siege-engine.com>
7 ;; This file is part of GNU Emacs.
9 ;; GNU Emacs is free software: you can redistribute it and/or modify
10 ;; it under the terms of the GNU General Public License as published by
11 ;; the Free Software Foundation, either version 3 of the License, or
12 ;; (at your option) any later version.
14 ;; GNU Emacs is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 ;; GNU General Public License for more details.
19 ;; You should have received a copy of the GNU General Public License
20 ;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
22 set mode "makefile-mode"
23 set escape_start "{{"
24 set escape_end "}}"
25 set application "ede"
27 context file
29 template ede-empty :file :project
30 ----
31 # Automatically Generated {{FILE}} by EDE.
32 # For use with: {{MAKETYPE}}
33 # Relative File Name: {{PROJECT_FILENAME}}
35 # DO NOT MODIFY THIS FILE OR YOUR CHANGES MAY BE LOST.
36 # EDE is the Emacs Development Environment.
37 # http://cedet.sourceforge.net/ede.shtml
40 ----
42 context declaration
44 template ede-vars
45 ----
46 {{#VARIABLE}}
47 {{NAME}}={{#VALUE}} {{VAL}}{{/VALUE}}{{/VARIABLE}}
48 ----
50 ;; Some extra templates for Arduino based Makefiles.
51 ;; Perhaps split this out someday in the future.
52 context arduino
54 template ede-empty :file
55 ----
56 # Automatically Generated {{FILE}} by EDE.
57 # For use with Make for an Arduino project.
59 # DO NOT MODIFY THIS FILE OR YOUR CHANGES MAY BE LOST.
60 # EDE is the Emacs Development Environment.
61 # http://cedet.sourceforge.net/ede.shtml
63 ARDUINO_DIR  = {{ARDUINO_HOME}}
65 TARGET       = {{TARGET}}
66 ARDUINO_LIBS = {{ARDUINO_LIBS}}
68 MCU          = {{MCU}}
69 F_CPU        = {{F_CPU}}
70 ARDUINO_PORT = {{PORT}}
71 BOARD_TAG    = {{BOARD}}
73 AVRDUDE_ARD_BAUDRATE = {{AVRDUDE_ARD_BAUDRATE}}
74 AVRDUDE_ARD_PROGRAMMER = {{AVRDUDE_ARD_PROGRAMMER}}
76 include {{ARDUINO_MK}}
78 # End of Makefile
79 ----
82 ;; end