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

📄 makefile

📁 斯坦福Energy211/CME211课《c++编程——地球科学科学家和工程师》的课件
💻
字号:
# All object files that must be linked into final executablesCSTRING_OBJ=	cstring_iter.oMAPS_OBJ=	maps.oSPARSE_OBJ=	sparsemat.o sparsemat_main.oall:	cstring_iter maps sparsemat# Rule for building executable from object files# $@ is shorthand for the target of the rulecstring_iter: ${CSTRING_OBJ}	c++ -g -o $@ ${CSTRING_OBJ}maps: ${MAPS_OBJ}	c++ -g -o $@ ${MAPS_OBJ}sparsemat: ${SPARSE_OBJ}	c++ -g -o $@ ${SPARSE_OBJ}# Rule for compiling individual sources files into object files# $< is shorthand for the first prerequisite${CSTRING_OBJ}: %.o: %.cpp	c++ -g -c $<${MAPS_OBJ}: %.o: %.cpp	c++ -g -c $<${SPARSE_OBJ}: %.o: %.cpp	c++ -g -c $<# Rule to clean up all output filesclean:	rm -f cstring_iter maps sparsemat ${CSTRING_OBJ} ${MAPS_OBJ} ${SPARSE_OBJ}# DO NOT DELETEsparsemat.o: sparsemat.hsparsemat_main.o: sparsemat.h

⌨️ 快捷键说明

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