SHMUP: Restructure Makefile
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 領域
- build-system
調査の方向性
まず Makefile とリンクされた pull request #57 を読み、その変数、パス、in-tree または out-of-tree のビルド手順を、この issue のチェックリストと比較してください。Makefile がよりシンプルになり、要求された変数構文を使用し、チュートリアルプロジェクトが引き続き正常にビルドできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Continuing the discussion in https://github.com/gbdev/gb-asm-tutorial/pull/57:
@ISSOtm said:
Regarding the Makefile, I have a few primary suggestions right now. Most of them revolve around making the Makefile drastically simpler, following the theme of introducing new concepts incrementally.
- Remove the
SRCDIRvariable. The point of variables likeOBJDIRis to allow building out-of-tree in a flexible location; however, it makes imo no sense to allow pointing the Makefile at a different source tree, since it's inherently part of it. - Use
${}for variables instead of$(). This helps differentiate them from function calls (which only accept the latter syntax); this is especially useful when both kinds are nested. - Remove all of the
*DIRandRGB*variables. For a "directed" project like this, it should be fine to hardcode all paths; this will notably remove one layer of indirection, and allow the reader to familiarise themselves with what that layer of indirection will "resolve" to. (There may be a case for keeping all of theRGB*variables, in case someone doesn't have RGBDS in their path, or under different names? Idk.) - Build in-tree. Building out-of-tree is better for a lot of reasons, but adds significant complexity (creating output directories, doing more path substitution instead of just extension rewriting, etc.). Again, since this is a "controlled environment", it should be fine to do things slightly dirty if it helps introducing concepts gradually; additionally, I believe experiencing the downsides of in-tree builds should help justify the extra complexity of out-of-tree builds when they're introduced later.
- 主要言語
- Assembly
- スター
- 179
- フォーク
- 64
- 平均マージ
- 7日 22時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
gbdev/gb-asm-tutorial のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
gbdev/gb-asm-tutorial#194 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
gbdev/gb-asm-tutorial#184 · コメント 1 件 ·
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
gbdev/gb-asm-tutorial#141 · コメント 2 件 · リアクション 2 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
gbdev/gb-asm-tutorial#109 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
gbdev/gb-asm-tutorial#183 ·
gbdev/gb-asm-tutorial の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
typelevel/sbt-typelevel#929 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
openSUSE/python-rpm-macros#219 ·
-
HMR stops working オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
Qiskit/mcp-servers#221 ·