uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 41e18c16b1020bcd40bb1470fd441d141d2a09be
parent 52d5e2d694c03b5c272909756563c9231197a7b5
Author: neauoire <aliceffekt@gmail.com>
Date:   Fri, 27 Aug 2021 11:00:34 -0700

Made clang-format non necessary

Diffstat:
MREADME.md | 4+++-
Mbuild.sh | 2+-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -4,13 +4,14 @@ An assembler and emulator for the [Uxn stack-machine](https://wiki.xxiivv.com/si ## Build -### Linux +### Linux/OS X To build the Uxn emulator, you must install [SDL2](https://wiki.libsdl.org/) for your distro. If you are using a package manager: ```sh sudo pacman -Sy sdl2 # Arch sudo apt install libsdl2-dev # Ubuntu +sudo brew sdl2 # OS X ``` Build the assembler and emulator by running the `build.sh` script. The assembler(`uxnasm`) and emulator(`uxnemu`) are created in the `/bin` folder. @@ -18,6 +19,7 @@ Build the assembler and emulator by running the `build.sh` script. The assembler ```sh ./build.sh --debug # Add debug flags to compiler + --format # Format source code ``` If you wish to build the emulator without graphics mode: diff --git a/build.sh b/build.sh @@ -8,7 +8,7 @@ rm -f ./bin/boot.rom # When clang-format is present -if command -v clang-format > /dev/null 2>&1 +if [ "${1}" = '--format' ]; then echo "Formatting.." clang-format -i src/uxn.h