| 1 |
#----------------------------------------------------------------------------- |
| 2 |
# Makefile for ANN User's Manual |
| 3 |
# |
| 4 |
# ANN: Approximate Nearest Neighbors |
| 5 |
# Version: 1.1.1 08/04/06 |
| 6 |
#----------------------------------------------------------------------------- |
| 7 |
# Copyright (c) 1997-2005 University of Maryland and Sunil Arya and |
| 8 |
# David Mount. All Rights Reserved. |
| 9 |
# |
| 10 |
# This software and related documentation is part of the Approximate |
| 11 |
# Nearest Neighbor Library (ANN). This software is provided under |
| 12 |
# the provisions of the Lesser GNU Public License (LGPL). See the |
| 13 |
# file ../ReadMe.txt for further information. |
| 14 |
# |
| 15 |
# The University of Maryland (U.M.) and the authors make no |
| 16 |
# representations about the suitability or fitness of this software for |
| 17 |
# any purpose. It is provided "as is" without express or implied |
| 18 |
# warranty. |
| 19 |
#----------------------------------------------------------------------------- |
| 20 |
# Revision 0.1 03/04/98 |
| 21 |
# Initial release |
| 22 |
# Revision 1.1.1 08/04/06 |
| 23 |
# Added copyright/license |
| 24 |
#----------------------------------------------------------------------------- |
| 25 |
|
| 26 |
#----------------------------------------------------------------------------- |
| 27 |
# Basic definitions |
| 28 |
# BASEDIR where include, src, lib, ... are |
| 29 |
#----------------------------------------------------------------------------- |
| 30 |
|
| 31 |
BASEDIR = .. |
| 32 |
|
| 33 |
#----------------------------------------------------------------------------- |
| 34 |
# Some more definitions |
| 35 |
# ANNMAN name of user's manual |
| 36 |
# FIGURES list of included figures |
| 37 |
#----------------------------------------------------------------------------- |
| 38 |
|
| 39 |
ANNMAN = ANNmanual |
| 40 |
FIGURES = Figs/ann.eps Figs/kd-tree.eps |
| 41 |
|
| 42 |
#----------------------------------------------------------------------------- |
| 43 |
# Make the program |
| 44 |
#----------------------------------------------------------------------------- |
| 45 |
|
| 46 |
default: ps |
| 47 |
|
| 48 |
ps: $(ANNMAN).ps |
| 49 |
|
| 50 |
pdf: $(ANNMAN).pdf |
| 51 |
|
| 52 |
$(ANNMAN).pdf: $(ANNMAN).dvi |
| 53 |
dvipdf $(ANNMAN).dvi |
| 54 |
|
| 55 |
%.eps: %.fig |
| 56 |
fig2dev -L eps $< $@ |
| 57 |
|
| 58 |
$(ANNMAN).ps: $(ANNMAN).dvi |
| 59 |
dvips $(ANNMAN).dvi |
| 60 |
|
| 61 |
$(ANNMAN).dvi: $(ANNMAN).tex $(ANNMAN).bbl $(FIGURES) |
| 62 |
latex $(ANNMAN).tex |
| 63 |
latex $(ANNMAN).tex |
| 64 |
|
| 65 |
$(ANNMAN).bbl: $(ANNMAN).tex $(FIGURES) |
| 66 |
latex $(ANNMAN).tex |
| 67 |
bibtex $(ANNMAN) |
| 68 |
|
| 69 |
#----------------------------------------------------------------------------- |
| 70 |
# configuration definitions |
| 71 |
#----------------------------------------------------------------------------- |
| 72 |
|
| 73 |
include ../Make-config |
| 74 |
|
| 75 |
#----------------------------------------------------------------------------- |
| 76 |
# Cleaning |
| 77 |
#----------------------------------------------------------------------------- |
| 78 |
|
| 79 |
clean: |
| •80 |
-rm -f core *.aux *.dvi *.log *.blg *.bbl *.toc # $(FIGURES); |
| 81 |
|
| 82 |
realclean: clean |
| 83 |
-rm -f $(ANNMAN).ps |
| 84 |
# (The following is intentionally omitted, beacuse it is part of |
| 85 |
# the distribution.) |
| 86 |
# -rm -f $(ANNMAN).pdf |