Update CEDET from upstream.
[bpt/emacs.git] / etc / srecode / ede-make.srt
CommitLineData
c05676c5
CY
1;; ede-make.srt --- SRecode templates for Makefiles used by EDE.
2
acaf905b 3;; Copyright (C) 2008-2012 Free Software Foundation, Inc.
c05676c5
CY
4
5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6
7;; This file is part of GNU Emacs.
8
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.
13
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.
18
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/>.
21
22set mode "makefile-mode"
23set escape_start "{{"
24set escape_end "}}"
25set application "ede"
26
27context file
28
29template ede-empty :file
30----
31# Automatically Generated {{FILE}} by EDE.
32# For use with: {{MAKETYPE}}
33#
34# DO NOT MODIFY THIS FILE OR YOUR CHANGES MAY BE LOST.
35# EDE is the Emacs Development Environment.
36# http://cedet.sourceforge.net/ede.shtml
37#
38
39----
40
41context declaration
42
43template ede-vars
44----
45{{#VARIABLE}}
46{{NAME}}={{#VALUE}} {{VAL}}{{/VALUE}}{{/VARIABLE}}
47----
48
62a81506
CY
49;; Some extra templates for Arduino based Makefiles.
50;; Perhaps split this out someday in the future.
51context arduino
52
53template ede-empty :file
54----
55# Automatically Generated {{FILE}} by EDE.
56# For use with Make for an Arduino project.
57#
58# DO NOT MODIFY THIS FILE OR YOUR CHANGES MAY BE LOST.
59# EDE is the Emacs Development Environment.
60# http://cedet.sourceforge.net/ede.shtml
61
62ARDUINO_DIR = {{ARDUINO_HOME}}
63
64TARGET = {{TARGET}}
65ARDUINO_LIBS = {{ARDUINO_LIBS}}
66
67MCU = {{MCU}}
68F_CPU = {{F_CPU}}
69ARDUINO_PORT = {{PORT}}
70BOARD_TAG = {{BOARD}}
71
72AVRDUDE_ARD_BAUDRATE = {{AVRDUDE_ARD_BAUDRATE}}
73AVRDUDE_ARD_PROGRAMMER = {{AVRDUDE_ARD_PROGRAMMER}}
74
75include {{ARDUINO_MK}}
76
77# End of Makefile
78----
79
80
68972a4f 81;; end