Skip to content

Williamendal/operation-system-experiment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

operation-system-experiment


workplace目录下创建了Makefile文件,提供了一条龙服务。主要是下列三点:

  1. 创建。使用make wget可完成下载,解压并复制的功能。
  2. 编译并运行qemu。使用make或者make all可以编译运行qemu。
  3. 生成patch文件。使用make diff.自动cleanproj2-revise并生成patch。 只需要修改PROJID即可完成。
PROJ=proj2
ID=081520122

DIR=$(PROJ)-revise

all:
	cd $(DIR) && make qemu

wget:
	wget http://xzhu.info/os/$(PROJ)-base.zip && \
	unzip $(PROJ)-base && \
	cp -R $(PROJ)-base $(PROJ)-revise
	
clean:
	cd $(DIR) && make clean
	
diff:clean
	diff -uNr  $(PROJ)-base  $(DIR) > $(ID).$(PROJ).patch; [ $$? -eq 1 ]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 57.8%
  • Assembly 41.6%
  • C 0.6%