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