📄 makefile
字号:
# Peal postlinker makefile
RM = rm -f
OPTIMIZATION = -g -O0
WARNINGS = -W -Wall -Wmissing-prototypes -Wpointer-arith
POSTLINK_SRCS = image.cc postlinker.cc relocation.cc section.cc symbol.cc symboltable.cc complain.cc
POSTLINK_HDRS = $(POSTLINK_SRCS:.cc=.h) got.h stringtable.h elf.h elf32.h elf_common.h swap.h
INCDIRS = -I.
all: peal-postlink
peal-postlink: Makefile $(POSTLINK_HDRS) $(POSTLINK_SRCS)
$(CXX) $(OPTIMIZATION) $(WARNINGS) $(POSTLINK_SRCS) -o peal-postlink
clean:
$(RM) *~ *.o peal-postlink
.PHONY=all clean
.SUFFIXES=
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -