Skip to content

Commit

Permalink
Update README for Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
LIJI32 committed Dec 16, 2023
1 parent 6e92364 commit 3fd09ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ SameBoy requires the following tools and libraries to build:
On Windows, SameBoy also requires:
* Visual Studio (For headers, etc.)
* [GnuWin](http://gnuwin32.sourceforge.net/)
* Running vcvars32 before running make. Make sure all required tools and libraries are in %PATH% and %lib%, respectively. (see [Build FAQ](https://github.com/LIJI32/SameBoy/blob/master/build-faq.md) for more details on Windows compilation)
* Running vcvars64 before running make. Make sure all required tools and libraries are in %PATH% and %lib%, respectively. (see [Build FAQ](https://github.com/LIJI32/SameBoy/blob/master/build-faq.md) for more details on Windows compilation)

To compile, simply run `make`. The targets are:
* `cocoa` (Default for macOS)
Expand Down
8 changes: 4 additions & 4 deletions build-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ For the various tools and libraries, follow the below guide to ensure easy, prop

### SDL2

For [libSDL2](https://libsdl.org/download-2.0.php), download the Visual C++ Development Library pack. Place the extracted files within a known folder for later. Both the `\x86\` and `\include\` paths will be needed.
For [libSDL2](https://libsdl.org/download-2.0.php), download the Visual C++ Development Library pack. Place the extracted files within a known folder for later. Both the `\x64\` and `\include\` paths will be needed.

The following examples will be referenced later:

- `C:\SDL2\lib\x86\*`
- `C:\SDL2\lib\x64\*`
- `C:\SDL2\include\*`

### rgbds
Expand All @@ -35,8 +35,8 @@ Ensure that the `gnuwin32\bin\` directory is included in `%PATH%`. Like rgbds ab
Within a command prompt in the project directory:

```
vcvars32
set lib=%lib%;C:\SDL2\lib\x86
vcvars64
set lib=%lib%;C:\SDL2\lib\x64
set include=%include%;C:\SDL2\include
make
```
Expand Down

0 comments on commit 3fd09ff

Please sign in to comment.