fix 9front build
This commit is contained in:
parent
23a514b3ba
commit
cd7cc2ac4f
6
mkfile
6
mkfile
|
@ -7,7 +7,9 @@ CFLAGS=$CFLAGS -D__plan9__ -I/sys/include/npe -I/sys/include/npe/SDL2
|
||||||
HFILES=\
|
HFILES=\
|
||||||
/sys/include/npe/stdio.h\
|
/sys/include/npe/stdio.h\
|
||||||
src/devices/audio.h\
|
src/devices/audio.h\
|
||||||
|
src/devices/controller.h\
|
||||||
src/devices/file.h\
|
src/devices/file.h\
|
||||||
|
src/devices/mouse.h\
|
||||||
src/devices/screen.h\
|
src/devices/screen.h\
|
||||||
src/uxn.h\
|
src/uxn.h\
|
||||||
|
|
||||||
|
@ -35,13 +37,13 @@ bin/uxncli: file.$O uxncli.$O uxn.$O
|
||||||
bin/uxnasm: uxnasm.$O
|
bin/uxnasm: uxnasm.$O
|
||||||
$LD $LDFLAGS -o $target $prereq
|
$LD $LDFLAGS -o $target $prereq
|
||||||
|
|
||||||
bin/uxnemu: uxnemu.$O audio.$O file.$O screen.$O uxn.$O
|
bin/uxnemu: uxnemu.$O audio.$O controller.$O file.$O mouse.$O screen.$O uxn.$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|file|screen)\.$O:R: src/devices/\1.c
|
(audio|controller|file|mouse|screen)\.$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 New Issue