mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-26 07:45:14 +00:00
fix Plan 9 build (npe update required as well)
This commit is contained in:
parent
41d0911d13
commit
3d9aa3b7e5
1 changed files with 4 additions and 3 deletions
7
mkfile
7
mkfile
|
@ -11,6 +11,7 @@ HFILES=\
|
||||||
src/devices/file.h\
|
src/devices/file.h\
|
||||||
src/devices/mouse.h\
|
src/devices/mouse.h\
|
||||||
src/devices/screen.h\
|
src/devices/screen.h\
|
||||||
|
src/devices/system.h\
|
||||||
src/uxn.h\
|
src/uxn.h\
|
||||||
|
|
||||||
CLEANFILES=$TARG $ROM
|
CLEANFILES=$TARG $ROM
|
||||||
|
@ -31,19 +32,19 @@ bin:
|
||||||
%.rom:Q: %.tal bin/uxnasm
|
%.rom:Q: %.tal bin/uxnasm
|
||||||
bin/uxnasm $stem.tal $target >/dev/null
|
bin/uxnasm $stem.tal $target >/dev/null
|
||||||
|
|
||||||
bin/uxncli: file.$O uxncli.$O uxn.$O
|
bin/uxncli: file.$O system.$O uxncli.$O uxn.$O
|
||||||
$LD $LDFLAGS -o $target $prereq
|
$LD $LDFLAGS -o $target $prereq
|
||||||
|
|
||||||
bin/uxnasm: uxnasm.$O
|
bin/uxnasm: uxnasm.$O
|
||||||
$LD $LDFLAGS -o $target $prereq
|
$LD $LDFLAGS -o $target $prereq
|
||||||
|
|
||||||
bin/uxnemu: uxnemu.$O audio.$O controller.$O file.$O mouse.$O screen.$O uxn.$O
|
bin/uxnemu: audio.$O controller.$O file.$O mouse.$O screen.$O system.$O uxn.$O uxnemu.$O
|
||||||
$LD $LDFLAGS -o $target $prereq
|
$LD $LDFLAGS -o $target $prereq
|
||||||
|
|
||||||
(uxnasm|uxncli|uxnemu|uxn)\.$O:R: src/\1.c
|
(uxnasm|uxncli|uxnemu|uxn)\.$O:R: src/\1.c
|
||||||
$CC $CFLAGS -Isrc -o $target src/$stem1.c
|
$CC $CFLAGS -Isrc -o $target src/$stem1.c
|
||||||
|
|
||||||
(audio|controller|file|mouse|screen)\.$O:R: src/devices/\1.c
|
(audio|controller|file|mouse|screen|system)\.$O:R: src/devices/\1.c
|
||||||
$CC $CFLAGS -Isrc -o $target src/devices/$stem1.c
|
$CC $CFLAGS -Isrc -o $target src/devices/$stem1.c
|
||||||
|
|
||||||
nuke:V: clean
|
nuke:V: clean
|
||||||
|
|
Loading…
Reference in a new issue