root / rgbdslam / gicp / ann_1.1.1 / Makefile @ 9240aaa3
History | View | Annotate | Download (3.25 KB)
1 |
#----------------------------------------------------------------------------- |
---|---|
2 |
# Top-level Makefile for ANN. |
3 |
# |
4 |
# ANN: Approximate Nearest Neighbors |
5 |
# Version: 1.1 05/03/05 |
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 09/06/97 |
21 |
# alpha release |
22 |
# Revision 0.2 06/26/98 |
23 |
# Minor changes to fix compilation errors on SGI systems. |
24 |
# Revision 1.0 04/01/05 |
25 |
# Initial release (finally!) |
26 |
# Added linux-g++ target |
27 |
# Revision 1.1 05/03/05 |
28 |
# Added macosx-g++ target |
29 |
#----------------------------------------------------------------------------- |
30 |
|
31 |
#----------------------------------------------------------------------------- |
32 |
# default: list the options |
33 |
# The following legacy targets are also available. |
34 |
# make sunos4 for Sun with SunOS 4.x |
35 |
# make sunos4-g++ for Sun with SunOS 4.x and g++ |
36 |
# make alpha-g++ for DEC Alpha and g++ |
37 |
# The following targets are used for internal development only |
38 |
# make authors-debug author's debugging |
39 |
# make authors-perf author's performance evaluations |
40 |
# make distribution author's generation of distribution file |
41 |
#----------------------------------------------------------------------------- |
42 |
default: |
43 |
@echo "Enter one of the following:" |
44 |
@echo " make linux-g++ for Linux and g++" |
45 |
@echo " make macosx-g++ for Mac OS X and g++" |
46 |
@echo " make sunos5 for Sun with SunOS 5.x" |
47 |
@echo " make sunos5-sl for Sun with SunOS 5.x, make shared libs" |
48 |
@echo " make sunos5-g++ for Sun with SunOS 5.x and g++" |
49 |
@echo " make sunos5-g++-sl for Sun with SunOS 5.x, g++, make shared libs" |
50 |
@echo " make clean remove .o files" |
51 |
@echo " make realclean remove .o, library and executable files" |
52 |
@echo " " |
53 |
@echo "See file Makefile for other compilation options, such as disabling" |
54 |
@echo "performance measurement code." |
55 |
|
56 |
#----------------------------------------------------------------------------- |
57 |
# main make entry point |
58 |
#----------------------------------------------------------------------------- |
59 |
alpha-g++ macosx-g++ linux-g++ sgi sunos4 sunos4-g++ sunos5 sunos5-g++ sunos5-g++-sl authors-debug authors-perf: |
60 |
cd src ; $(MAKE) $@ |
61 |
|
62 |
#----------------------------------------------------------------------------- |
63 |
# Remove .o files and core files |
64 |
#----------------------------------------------------------------------------- |
65 |
clean: |
66 |
cd src ; $(MAKE) clean |
67 |
|
68 |
#----------------------------------------------------------------------------- |
69 |
# Remove everthing that can be remade |
70 |
#----------------------------------------------------------------------------- |
71 |
realclean: |
72 |
-rm -f lib/* |
73 |
-rm -f bin/* |
74 |
cd src ; $(MAKE) realclean |