New build script

This commit is contained in:
neauoire 2022-03-26 21:07:01 -07:00
parent a1ade4ce45
commit 59886ce34b
1 changed files with 11 additions and 1 deletions

View File

@ -1,9 +1,19 @@
# Uxn
An assembler and emulator for the [Uxn stack-machine](https://wiki.xxiivv.com/site/uxn.html), written in ANSI C.
An emulator for the [Uxn stack-machine](https://wiki.xxiivv.com/site/uxn.html), written in ANSI C.
More docs coming soon.
## Graphical
All you need is X11.
```
gcc src/uxn.c src/devices/system.c src/devices/screen.c src/devices/controller.c src/devices/mouse.c src/devices/datetime.c src/uxn11.c -DNDEBUG -Os -g0 -s -o bin/uxn11 -lX11
```
## Terminal
If you wish to build the emulator without graphics mode:
```sh