makefile

来自「高效的k-means算法实现」· 代码 · 共 64 行

TXT
64
字号
#-----------------------------------------------------------------------------# KMlocal: A testbed for k-means clustering algorithms based on local search# Version: 1.7#-----------------------------------------------------------------------------# Copyright (c) 2004-2005 David M. Mount and the University of Maryland# All Rights Reserved.## PLEASE READ THE FILE "Copyright.txt" FOR COPYRIGHT INFORMATION AND# DISCLAIMER.#-----------------------------------------------------------------------------# Makefile for the k-means test and evaluation program## Main target (makes the kmeans test program.##	make			make everything#	make document		make documentation#	make validate		perform validation tests#	make clean		delete temporary files#	make realclean		delete temps and executables##-----------------------------------------------------------------------------#-----------------------------------------------------------------------------# Basic definitions#		BIN_DIR		where to store executables#		SRC_DIR		kmltest source directory#		TEST_DIR	validation tests directory#		DOC_DIR		documentation directory#-----------------------------------------------------------------------------BIN_DIR		= binSRC_DIR		= srcTEST_DIR	= testDOC_DIR		= docdefault: 	cd $(SRC_DIR); make all; cd ..validate: $(KMTEST)	cd $(TEST_DIR); makedocument:	cd $(DOC_DIR); makeall:	cd $(SRC_DIR); make all; cd ..	cd $(TEST_DIR); make	cd $(DOC_DIR); make	#-----------------------------------------------------------------------------# Cleaning#-----------------------------------------------------------------------------clean:	cd $(SRC_DIR); make clean; cd ..	cd $(TEST_DIR); make clean; cd ..	cd $(DOC_DIR); make clean; cd ..realclean: 	cd $(SRC_DIR); make realclean; cd ..	cd $(TEST_DIR); make realclean; cd ..	cd $(DOC_DIR); make realclean; cd ..

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?