?? makefile
字號:
# All object files that must be linked into final executableOBJ= employee.o hourly.o salaried.o main.o# Rule for building executable from object files# $@ is shorthand for the target of the rulederived_class: ${OBJ} c++ -o $@ ${OBJ}# Rule for compiling individual sources files into object files# $< is shorthand for the first prerequisite${OBJ}: %.o: %.cpp c++ -c $<# Rule to clean up all output filesclean: rm -f derived_class ${OBJ}# DO NOT DELETEemployee.o: employee.hhourly.o: employee.h hourly.hsalaried.o: employee.h salaried.hmain.o: employee.h hourly.h salaried.h
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -