From 59886ce34b5b3fdbf276c4d35fe489259387651e Mon Sep 17 00:00:00 2001 From: neauoire Date: Sat, 26 Mar 2022 21:07:01 -0700 Subject: [PATCH] New build script --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c6baf4f..4f062ca 100644 --- a/README.md +++ b/README.md @@ -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