📄 makefile
字号:
CFLAGS= # All object files that must be linked into final executableOBJ= matrix.o vector.o linsys.o main.o# Rule for building executable from object files# $@ is shorthand for the target of the rulecustom_solve: ${OBJ} c++ ${CFLAGS} -o $@ ${OBJ}# Rule for compiling individual sources files into object files# $< is shorthand for the first prerequisite${OBJ}: %.o: %.cpp c++ ${CFLAGS} -c $<# Rule to clean up all output filesclean: rm -f custom_solve ${OBJ}# DO NOT DELETElinsys.o: linsys.h vector.h matrix.hmain.o: linsys.h vector.h matrix.hmatrix.o: matrix.h vector.hvector.o: vector.h matrix.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -