📄 makefile.linux
字号:
# Visual SlickEdit generated file. Do not edit this file except in designated areas.
# -----Begin user-editable area-----
# -----End user-editable area-----
# Make command to use for dependencies
MAKECMD=gmake
# If no configuration is specified, "Debug" will be used
ifndef "CFG"
CFG=Debug
endif
#
# Configuration: Debug
#
ifeq "$(CFG)" "Debug"
OUTDIR=Debug
OUTFILE=$(WUKONG_HOME)/plugin/linux/MU0_d.so
CFG_INC=-I$(WUKONG_HOME)/source/
CFG_LIB=
CFG_OBJ=
COMMON_OBJ=$(OUTDIR)/Board.o $(OUTDIR)/Debugger.o \
$(OUTDIR)/Instruction.o $(OUTDIR)/Loader.o $(OUTDIR)/MU0.o \
$(OUTDIR)/Processor.o $(OUTDIR)/stdafx.o
OBJ=$(COMMON_OBJ) $(CFG_OBJ)
COMPILE=g++ -c -DLINUX -D_DEBUG -g -fPIC -o "$(OUTDIR)/$(*F).o" $(CFG_INC) "$<"
LINK=g++ -g -shared -fPIC -o "$(OUTFILE)" $(OBJ) $(CFG_LIB)
# Pattern rules
$(OUTDIR)/%.o : %.cpp
$(COMPILE)
# Build rules
all: $(OUTFILE)
$(OUTFILE): $(OUTDIR) $(OBJ)
$(LINK)
$(OUTDIR):
mkdir -p "$(OUTDIR)"
# Rebuild this project
rebuild: cleanall all
# Clean this project
clean:
rm -f $(OUTFILE)
rm -f $(OBJ)
# Clean this project and all dependencies
cleanall: clean
endif
#
# Configuration: Release
#
ifeq "$(CFG)" "Release"
OUTDIR=Release
OUTFILE=$(WUKONG_HOME)/plugin/linux/MU0.so
CFG_INC=-I$(WUKONG_HOME)/source/
CFG_LIB=
CFG_OBJ=
COMMON_OBJ=$(OUTDIR)/Board.o $(OUTDIR)/Debugger.o \
$(OUTDIR)/Instruction.o $(OUTDIR)/Loader.o $(OUTDIR)/MU0.o \
$(OUTDIR)/Processor.o $(OUTDIR)/stdafx.o
OBJ=$(COMMON_OBJ) $(CFG_OBJ)
COMPILE=g++ -c -DLINUX -DNDEBUG -fPIC -o "$(OUTDIR)/$(*F).o" $(CFG_INC) "$<"
LINK=g++ -shared -fPIC -o "$(OUTFILE)" $(OBJ) $(CFG_LIB)
# Pattern rules
$(OUTDIR)/%.o : %.cpp
$(COMPILE)
# Build rules
all: $(OUTFILE)
$(OUTFILE): $(OUTDIR) $(OBJ)
$(LINK)
$(OUTDIR):
mkdir -p "$(OUTDIR)"
# Rebuild this project
rebuild: cleanall all
# Clean this project
clean:
rm -f $(OUTFILE)
rm -f $(OBJ)
# Clean this project and all dependencies
cleanall: clean
endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -