📄 makefile
字号:
CC = g++# Debugging?DEBUG = -g -fno-exceptions -fno-rttiPIPE = -pipe# WarningsWARN = -Wall -W# Source filesSRC := $(wildcard *.cc)# Exe fileEXE = LeakTrace.a# Common flagsO_FLAGS = $(PIPE) $(PROF) $(STATIC) $(SPECIAL)C_FLAGS = $(WARN) $(DEBUG) $(OPT) $(OTHER) $(INCLUDE)# Object filesOBJ_DIR = .OBJ := $(patsubst %.cc,$(OBJ_DIR)/%.o,$(SRC)).PHONY: all clean tidy checkin diff distrib install dependall: $(OBJ) README.htmlclean: tidy rm -f $(EXE) $(OBJ) $(MAKE).depend: gcc -MM -Ih $(SRC) > .depend perl -i -p -e 's/([^.]+)\.o/o\/\1.o/g' .dependtidy: rm -f *~ *orig *bak *rejtags: $(SRC) $(INCL) ctags $(SRC) $(INCL)dist: clean (cd .. && tar cvfz /root/drylock/LeakTracer/LeakTracer.tar.gz --exclude LeakTracer/CVS LeakTracer/)$(OBJ_DIR)/%.o: %.cc $(CC) -c $(O_FLAGS) $(C_FLAGS) $< -o $@README.html: README /root/ed/mcl/util/htmlize.pl README# These files are under RCS controlRCS= $(SRC) $(INCL) README Changes Makefile TODOcheckin: ci -mlazy -l $(RCS)diff: rcsdiff -u -p $(RCS) > diff.new
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -