📄 makefile
字号:
SRCS = $(shell /bin/ls *.cc)CFLAGS = -DOP_ASSIGN.SUFFIXES: $(SUFFIXES) .cpp%.o: %.cpp# g++ -c $(CFLAGS) $< g++ -c $(CFLAGS) -fno-elide-constructors $<OBJS = main.o parse.o eval.o Cell.omain: $(OBJS) g++ -g $(CFLAGS) -o $@ $(OBJS) -lmmain.o: Cell.hpp cons.hpp parse.hpp eval.hpp main.cpp g++ -c -g main.cpp parse.o: Cell.hpp cons.hpp parse.hpp parse.cpp g++ -c -g parse.cppeval.o: Cell.hpp cons.hpp eval.hpp eval.cpp g++ -c -g eval.cppCell.o: Cell.hpp Cell.cpp g++ -c -g Cell.cppdoc: doxygen doxygen.configtest: rm -f testoutput.txt ./main testinput.txt > testoutput.txt diff testreference.txt testoutput.txtclean: rm -f core *~ $(OBJS) main main.exe testoutput.txt
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -