enable "install" target on Plan 9, install as games/uxn*
This commit is contained in:
parent
c7f3014fe9
commit
a740105b76
|
@ -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`.
|
||||
|
|
5
mkfile
5
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
|
||||
|
|
Loading…
Reference in New Issue