MIPS/resources/2021/soft/memory_game/Readme_first.txt
2021-06-18 15:43:51 +08:00

36 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

本目录是大赛提供的记忆游戏程序的目录,包括编译所需的源代码和目标文件。
本目录需要在Linux环境下,运行终端进入本目录执行Makefile脚本进行编译。
1. 目录的结构如下:
+--./ : 记忆游戏测试目录
|
|--memory_game/ : 记忆游戏源码
|
|--include/ : 编译所需的头文件目录
|
|--lib/ : 编译所需的库文件目录
|
|--obj/ : 编译生成的目标文件目录
|
|--bin.lds.S : 链接脚本生成文件
|
|--convert.c : RAM初始化文件的转换代码
|
|--start.S : 测试程序的启动代码
|
|--Makefile : 编译脚本
|
|--Readme_first.txt : 本文档
2. 编译方法
(1) 编译前,请保证已经配置好交叉编译环境。
(2) 在当前目录下打开终端执行make即可在obj目录下生成测试所需的所有文件。
(3) 想清除所有编译文件请执行make clean或者make reset。