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

📄 makefile

📁 xen虚拟机源代码安装包
💻
字号:
# foo.TEST_SRCS:=$(shell find cases/ -name \*.t | sort -n -t/ -k2)PROGS:=$(patsubst %.t,%.p,$(TEST_SRCS))HARNESS_SRCS:=main.c# io_queue.cCFLAGS=-Wall -Werror -g -O -laio#-lpthread -lrtall: $(PROGS)$(PROGS): %.p: %.t $(HARNESS_SRCS)	$(CC) $(CFLAGS) -DTEST_NAME=\"$<\" -o $@ main.cclean:	rm -f $(PROGS) *.o runtests.out rofile wofile rwfile.PHONY:testdir/rofile: .PHONY	rm -f $@	echo "test" >$@	chmod 400 $@testdir/wofile: .PHONY	rm -f $@	echo "test" >$@	chmod 200 $@testdir/rwfile: .PHONY	rm -f $@	echo "test" >$@	chmod 600 $@check: $(PROGS) testdir/rofile testdir/rwfile testdir/wofile	./runtests.sh $(PROGS)

⌨️ 快捷键说明

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