Skip to content

Commit

Permalink
PR
Browse files Browse the repository at this point in the history
  • Loading branch information
hensldm committed Dec 17, 2023
1 parent a9a03f6 commit 4e4be4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
NON_MATCHING ?= 0
COMPARE ?= 1

# One of:
Expand Down Expand Up @@ -45,11 +44,6 @@ else
$(error Invalid Target)
endif

ifeq ($(NON_MATCHING),1)
CPPFLAGS += -DNON_MATCHING
COMPARE := 0
endif

ifeq ($(findstring _rom,$(TARGET)),_rom)
CPPFLAGS += -D_FINALROM
endif
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Currently this repo supports building the following versions:

After cloning the repo, put a copy of the target archive(s) in their correct version folder in `base/`.
For example, if your target archive is libgultra_rom.a 2.0L then you'd place it in `base/L/`.
If you will be building without a target archive by setting `NON_MATCHING` then you can skip this step.
If you will be building without a target archive by setting `COMPARE=0` then you can skip this step.

## Build dependencies

Expand Down Expand Up @@ -56,4 +56,10 @@ For example, if building the 2.0L PC archive you'd do the following:

Every target flag combination requires separate a setup command.

If building without a target archive using `NON_MATCHING` then you can skip the setup command.
If building without an target archive, than you can use `COMAPRE=0` like the the following:

- `make VERSION=L TARGET=libgultra_rom COMPARE=0 setup`
- `make VERSION=L TARGET=libgultra_rom COMPARE=0`

note that running setup without `COMPARE=0` and no archive will result in an error,
and only needs to be run once instead of per target flag combination

0 comments on commit 4e4be4d

Please sign in to comment.