1 ;; ede-make.srt --- SRecode templates for Makefiles used by EDE.
3 ;; Copyright (C) 2008-2013 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"
29 template ede-empty :file :project
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
47 {{NAME}}={{#VALUE}} {{VAL}}{{/VALUE}}{{/VARIABLE}}
50 ;; Some extra templates for Arduino based Makefiles.
51 ;; Perhaps split this out someday in the future.
54 template ede-empty :file
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}}
66 ARDUINO_LIBS = {{ARDUINO_LIBS}}
70 ARDUINO_PORT = {{PORT}}
73 AVRDUDE_ARD_BAUDRATE = {{AVRDUDE_ARD_BAUDRATE}}
74 AVRDUDE_ARD_PROGRAMMER = {{AVRDUDE_ARD_PROGRAMMER}}
76 include {{ARDUINO_MK}}