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

📄 makefile

📁 Murphy 大俠 GPL 的 C++/x86 RTOS, 支持 MMU, 用戶/核心 模式區隔. http://hpc.ee.ntu.edu.tw/~murphy/me/EKernel.html
💻
字号:
CXX=g++
CPPFLAGS = -I. -O3 -mpentium -DDEBUG

all : proc1.cof proc2.cof

%.o : %.cc
	$(CXX) $(CPPFLAGS) -c $< -o $@


proc1.cof : proc1.o

	ld --entry=_main -Map $@.map --oformat coff-go32 \
	-Ttext 0x80000000 \
	$< -L . -l ekernel -o $@

	cp $@ a:/

proc2.cof : proc2.o

	ld --entry=_main -Map $@.map --oformat coff-go32 \
	-Ttext 0x80000000 \
	$< -L . -l ekernel -o $@

	cp $@ a:/

⌨️ 快捷键说明

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