Mercurial > emacs
view etc/srecode/ede-make.srt @ 106009:e6af95c4c862
Use gcc-generated dependency files if we can (GNU Make and gcc required).
* Makefile.in: If AUTO_DEPEND is defined, make gcc generate
dependency files in deps/. Include those files into Makefile.
* config.in: Generated (AUTO_DEPEND).
* configure.in: --enable-autodepend is new. Check for GNU Make
and that gcc supports -MMD -MF. Define AUTO_DEPEND if we can use
gcc and GNU make to generate dependencies.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Sat, 14 Nov 2009 15:17:38 +0000 |
parents | c6cabc736460 |
children | 1d1d5d9bd884 |
line wrap: on
line source
;; ede-make.srt --- SRecode templates for Makefiles used by EDE. ;; Copyright (C) 2008, 2009 Free Software Foundation, Inc. ;; Author: Eric M. Ludlam <eric@siege-engine.com> ;; This file is part of GNU Emacs. ;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. set mode "makefile-mode" set escape_start "{{" set escape_end "}}" set application "ede" context file template ede-empty :file ---- # Automatically Generated {{FILE}} by EDE. # For use with: {{MAKETYPE}} # # DO NOT MODIFY THIS FILE OR YOUR CHANGES MAY BE LOST. # EDE is the Emacs Development Environment. # http://cedet.sourceforge.net/ede.shtml # ---- context declaration template ede-vars ---- {{#VARIABLE}} {{NAME}}={{#VALUE}} {{VAL}}{{/VALUE}}{{/VARIABLE}} ---- ;; end