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

📄 module.mk

📁 linux下获取一些环境信息的代码
💻 MK
字号:
# This file gets included into the main Makefile, in the top directory.INSTALL += $(bin)ps $(man1)ps.1# files to removeCLEAN += ps/ps ps/debug# a directory for cleaningDIRS += ps/# a file to createALL += ps/psPS_C    := display global help output parser select sortformatPSNAMES := $(addprefix ps/,$(PS_C))PSOBJ   := $(addsuffix .o,$(PSNAMES))PSSRC   := $(addsuffix .c,$(PSNAMES))PS_X := COPYING HACKING TRANSLATION common.h module.mk it p ps.1 regressionTARFILES += $(PSSRC) $(addprefix ps/,$(PS_X))ps/ps: $(PSOBJ) $(LIBPROC)	$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) -o $@ $^ $(ldl)# This just adds the stacktrace codeps/debug: $(PSOBJ) stacktrace.o $(LIBPROC)	$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) -o $@ $^ -lefence $(ldl)$(PSOBJ): %.o: %.c ps/common.h $(LIBPROC)	$(CC) -c $(ALL_CPPFLAGS) $(ALL_CFLAGS) $< -o $@ps/stacktrace.o: ps/stacktrace.c$(bin)ps: ps/ps	$(install) --mode a=rx $< $@$(man1)ps.1 : ps/ps.1	$(install) --mode a=r $< $@	-rm -f $(DESTDIR)/var/catman/cat1/ps.1.gz $(DESTDIR)/var/man/cat1/ps.1.gz

⌨️ 快捷键说明

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