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

📄 makefile.in.sed

📁 libiconv是一个很不错的字符集转换库。程序接口也很简单
💻 SED
字号:
/^top_srcdir = /a\
resdir = @top_builddir@res\
vpath %.rc @top_builddir@res

/^\.cc\?\.o\:/i\
# Rule to make compiled resource (Windows)\
%-rc.o: %.rc\
	windres --include-dir $(resdir) -i $< -o $@\

s/^DEFS =/& -DINSTALLDIR=\\"$(prefix)\\" /

s/^\([^A-Z_]*\)_OBJECTS = /& \1-rc.o /
s/^\([^A-Z_]*\)_SOURCES = /& \1.rc /

/^VERSION =/a\
MAJOR=$(shell echo $(VERSION) | sed -e "s/\\..*$$//")\
MINOR=$(shell echo $(VERSION) | sed -e "s/^[^\\.]*\\.0*\\([^.]*\\).*$$/\\1/")
#s/^\([^_]*\)_*LDFLAGS = /& -Wl,--major-image-version=$(MAJOR) -Wl,--minor-image-version=$(MINOR) /
#s/^\([^_]*\)_*LDADD = /& -Wl,--major-image-version=$(MAJOR) -Wl,--minor-image-version=$(MINOR) /
s/^LDADD = /& -Wl,--major-image-version=$(MAJOR) -Wl,--minor-image-version=$(MINOR) /

s/@LN_S@/cp -fp/g
s/@LN@/cp -fp/g

⌨️ 快捷键说明

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