uxn

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

commit a740105b7616c882f45c2f11611c2d2e3396f1c0
parent c7f3014fe92aa59b063c068f629caaffb6ed537c
Author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
Date:   Tue,  2 May 2023 23:01:29 +0000

enable "install" target on Plan 9, install as games/uxn*

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

diff --git a/README.md b/README.md @@ -36,10 +36,10 @@ cc src/devices/datetime.c src/devices/system.c src/devices/file.c src/uxn.c -DND ### Plan 9 -To build the Uxn emulator on [9front](http://9front.org/), via [npe](https://git.sr.ht/~ft/npe): +To build and install the Uxn emulator on [9front](http://9front.org/), via [npe](https://git.sr.ht/~ft/npe): ```rc -mk +mk install ``` If the build fails on 9front because of missing headers or functions, try again after `rm -r /sys/include/npe`. diff --git a/mkfile b/mkfile @@ -1,5 +1,6 @@ </$objtype/mkfile +BIN=/$objtype/bin/games TARG=bin/uxncli bin/uxnasm bin/uxnemu USM=`{walk -f projects/ | grep '\.tal$' | grep -v blank.tal | grep -v /assets/ | grep -v /library/} ROM=${USM:%.tal=%.rom} @@ -56,7 +57,7 @@ clean:V: %.clean:V: rm -f $stem.[$OS] [$OS].$stem $stem -install:QV: all - exit 'Sorry, there is no install rule yet' +install:V: all + cp $TARG $BIN/ #LDFLAGS=-p