| 1 |
#----------------------------------------------------------------------------- |
| 2 |
# Makefile for Windows Versions. |
| 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 1.0 05/03/05 |
| 21 |
# Initial release |
| 22 |
# Revision 1.1.1 08/04/06 |
| 23 |
# Added copyright/license |
| 24 |
#----------------------------------------------------------------------------- |
| 25 |
|
| 26 |
#----------------------------------------------------------------------------- |
| 27 |
# This is not used for compiling the dll. It is just used for cleaning |
| 28 |
# things up for distribution. For compilcation, open the Ann.sln |
| 29 |
# solution file in Microsoft Windows Visual Studio.NET. |
| 30 |
#----------------------------------------------------------------------------- |
| 31 |
|
| 32 |
default: |
| 33 |
@echo "Enter one of the following:" |
| 34 |
@echo " make clean remove object files" |
| 35 |
@echo " make realclean remove library and executable files" |
| 36 |
@echo " " |
| 37 |
@echo "See file Makefile for other compilation options." |
| 38 |
|
| 39 |
#----------------------------------------------------------------------------- |
| 40 |
# Remove .o files and core files |
| 41 |
#----------------------------------------------------------------------------- |
| 42 |
clean: |
| 43 |
-rm -f -r ann2fig/Debug ann2fig/Release |
| 44 |
-rm -f -r dll/Debug dll/Release |
| 45 |
-rm -f -r sample/Debug sample/Release |
| 46 |
-rm -f -r test/Debug test/Release |
| 47 |
-rm -f Ann.ncb Ann.suo |
| 48 |
|
| 49 |
#----------------------------------------------------------------------------- |
| 50 |
# Remove everthing that can be remade |
| 51 |
#----------------------------------------------------------------------------- |
| 52 |
realclean: clean |
| 53 |
-rm -f bin/* |