nexus-am/apps
Yanyan Jiang e37d216afd have an app makefile 2017-05-21 09:43:53 -04:00
..
cputest have an app makefile 2017-05-21 09:43:53 -04:00
hello refactors 2017-05-18 03:44:19 -04:00
klibtest refactors 2017-05-18 03:44:19 -04:00
litenes refactors 2017-05-18 03:44:19 -04:00
microbench refactors 2017-05-18 03:44:19 -04:00
nanos cleanup 2017-04-19 23:41:07 +08:00
nemu lzip ssort not pass 2017-05-12 17:19:56 +08:00
time refactors 2017-05-18 03:44:19 -04:00
typing Update draw.c 2017-05-18 15:57:45 +08:00
video refactors 2017-05-18 03:44:19 -04:00
README.md update documents 2017-04-21 01:38:19 +08:00

README.md

AM Applications

在单独的分支开发每个app成熟后合并到主分支。

大项目可以考虑使用submodule。

App目录组织

apps/里建立app名称的子目录例如hello

包含两个目录:

  • apps/hello/include:头文件,将会被加入到-I选项中。
  • apps/hello/src:源代码文件。所有源代码文件会被归档到build/hello-arch.a

编译App

在最外层make [play] ARCH=体系结构 APP=hello可以编译hello。play参数会在编译完成后运行app。

如果上一次编译的体系结构不同,需要先执行make clean