⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 subdir.mk

📁 The library provides supports for run-time loaded plugin classes in C++
💻 MK
字号:
#expects: # SRCS - list of source files# SUBDIR - Path to directory with source files# BINDIR - Path to output directory# CPPBUILD - Build command for C++ files# SDFLAGS - SubDir flags for compiling# Flatten path in output bin dirSDFN := $(subst /,_,$(SUBDIR))SDFN := $(subst .,-,$(SDFN))LOBJS = $(addprefix $(BINDIR)/$(SDFN)_, $(SRCS:.cpp=.o))OBJS += $(LOBJS)-include $(addsuffix .d,$(LOBJS))$(BINDIR)/$(SDFN)_%.o: tspec:=$(SDFLAGS) $(BINDIR)/$(SDFN)_%.o: $(SUBDIR)/%.cpp 	$(CPP) $(CPPFLAGS) $(tspec) $(DEFS) $(INCZPCH) $(wxCPPFLAGS) -MT$@ -MF$@.d -MD -c $< -o $@	echo -#$(BINDIR)/$(SDFN)_%.o.d:    $(warning $(BINDIR)/$(SDFN)_  $(SUBDIR)/)# Reset local compile flags after using itSDFLAGS = 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -