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