mirror of https://git.sr.ht/~rabbits/uxn
Improved README
This commit is contained in:
parent
7598f40f30
commit
c6c31aa815
|
@ -6,7 +6,7 @@ An assembler and emulator for the [Uxn stack-machine](https://wiki.xxiivv.com/si
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
|
|
||||||
To build the Uxn emulator, you must install [SDL2](https://wiki.libsdl.org/) for your distro. For example:
|
To build the Uxn emulator, you must install [SDL2](https://wiki.libsdl.org/) for your distro. If you are using a package manager:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo pacman -Sy sdl2 # Arch
|
sudo pacman -Sy sdl2 # Arch
|
||||||
|
@ -20,7 +20,7 @@ Build the assembler and emulator by running the `build.sh` script. The assembler
|
||||||
--debug # Add debug flags to compiler
|
--debug # Add debug flags to compiler
|
||||||
```
|
```
|
||||||
|
|
||||||
If you only wish to simply build the `uxncli` cli tool:
|
If you wish to build the emulator without graphics mode:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cc src/uxn.c -DNDEBUG -Os -g0 -s src/uxncli.c -o bin/uxncli
|
cc src/uxn.c -DNDEBUG -Os -g0 -s src/uxncli.c -o bin/uxncli
|
||||||
|
|
Loading…
Reference in New Issue