makefile

来自「parser in C++~~~~~~~~~~~~」· 代码 · 共 37 行

TXT
37
字号
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 + =
减小字号Ctrl + -
显示快捷键?