📄 gm_gnu.mak
字号:
CXX = g++CXXFLAGS = -O2 -WallDIFF = ./sdiffPRE = ./%.o: %.cpp $(CXX) $(CXXFLAGS) -c $*.cppeverything: genemake sdiff genemake_obj = genemake.o str.o myexcept.o liststr.o gstring.o str_fns.o commline.ogenemake: $(genemake_obj) $(CXX) -o $@ $(genemake_obj) -L. -lmsdiff_obj = sdiff.o str.o myexcept.o liststr.o gstring.o str_fns.o commline.osdiff: $(sdiff_obj) $(CXX) -o $@ $(sdiff_obj) -L. -lmgenemake.o: genemake.cpp include.h str.h gstring.h commline.h boolean.h myexcept.hstr.o: str.cpp include.h str.h boolean.h myexcept.hmyexcept.o: myexcept.cpp include.h boolean.h myexcept.hliststr.o: liststr.cpp include.h str.h gstring.h str_fns.h boolean.h myexcept.hgstring.o: gstring.cpp include.h str.h gstring.h boolean.h myexcept.hstr_fns.o: str_fns.cpp str.h str_fns.h include.h boolean.h myexcept.hcommline.o: commline.cpp include.h myexcept.h str.h commline.h boolean.hsdiff.o: sdiff.cpp include.h str.h gstring.h commline.h boolean.h myexcept.hgenemake.txx: genemake $(PRE)genemake > genemake.txx $(DIFF) genemake.txt genemake.txxsdiff.txx: sdiff $(PRE)sdiff > sdiff.txx $(DIFF) sdiff.txt sdiff.txx
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -