⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 torch tracking code, it is a good code
💻
字号:
## Torch user Makefile example## Torch location.# Make sure to specify correct location...TORCHDIR := $(shell cd ../../..; pwd)## All that follows you can probably keep as is...#OS := $(shell uname -s)include $(TORCHDIR)/Makefile_options_$(OS)CC_FILES := $(shell ls *.cc)C_FILES := $(foreach f,$(CC_FILES),$(patsubst %,%,$(f)))BINARIES := $(foreach g,$(C_FILES),$(patsubst %.cc,%,$(g)))all: $(BINARIES)%: %.cc	@echo "#"	@echo "# Compiling "$@"..."	@cd $(TORCHDIR); ${MAKE} -s	@mkdir -p $(VERSION_KEY)	@$(CC) $(CFLAGS_$(MODE)) $(INCS) -o $(VERSION_KEY)/$@ $< $(LIBS)

⌨️ 快捷键说明

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