makefile
来自「高效的k-means算法实现」· 代码 · 共 44 行
TXT
44 行
#-----------------------------------------------------------------------------# Makefile for the sample program## To compile sample program, go to ../src and enter:# make sample## Once compliled, to run it use:# make run to execute the sample program#-----------------------------------------------------------------------------#-----------------------------------------------------------------------------# Basic definitions# BIN_DIR where to store executables# KMLMINIMAL where the minimal sample executable resides# KMLSAMPLE where the sample executable resides#-----------------------------------------------------------------------------BIN_DIR = ../binKMLMINIMAL = $(BIN_DIR)/kmlminimalKMLSAMPLE = $(BIN_DIR)/kmlsample#-----------------------------------------------------------------------------# Run the sample programs#-----------------------------------------------------------------------------default: @echo "Please specify desired sample program, 'sample' or 'minimal'"minimal: $(KMLMINIMAL)sample: $(KMLSAMPLE) -df data_pts.txt#-----------------------------------------------------------------------------# Cleaning#-----------------------------------------------------------------------------clean: -rm -f corerealclean: clean -rm -f *.out
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?