contrib/anything-grep.el: anything-grep-multiline: revert to `t'
[anything-config.git] / Makefile
blob1a46dd8e8c69cedaa1a708f8a0d561e45885af4b
1 # makefile for anything.
3 # Author: Michael Markert.
4 # Copyright (C) 2011~2012, Michael Markert, all rights reserved.
6 ## This file is NOT part of GNU Emacs
7 ##
8 ## License
9 ##
10 ## This program is free software; you can redistribute it and/or modify
11 ## it under the terms of the GNU General Public License as published by
12 ## the Free Software Foundation; either version 3, or (at your option)
13 ## any later version.
15 ## This program is distributed in the hope that it will be useful,
16 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ## GNU General Public License for more details.
20 ## You should have received a copy of the GNU General Public License
21 ## along with this program; see the file COPYING. If not, write to
22 ## the Free Software Foundation, Inc., 51 Franklin Street, Fifth
23 ## Floor, Boston, MA 02110-1301, USA.
25 # emacs invocation
26 EMACS := emacs -Q -batch
28 # additional emacs loadpath
29 LOADPATH := -L .
31 # files to compile
32 EL := $(wildcard anything*.el)
34 # compiled files
35 ELC := $(EL:.el=.elc)
37 .PHONY: clean batch-compile
39 all: clean batch-compile
41 $(ELC): %.elc: %.el
42 $(EMACS) $(LOADPATH) -f batch-byte-compile $<
44 # compile needed files
45 compile: $(ELC)
47 # compile all files at once
48 batch-compile:
49 $(EMACS) $(LOADPATH) -f batch-byte-compile $(EL)
51 # remove all generated files
52 clean:
53 rm -f $(ELC)