fix Plan 9 build again

This commit is contained in:
Sigrid Solveig Haflínudóttir 2021-06-27 17:23:27 +02:00
parent 952d022daa
commit b5966ea78d
1 changed files with 2 additions and 3 deletions

5
mkfile
View File

@ -7,7 +7,6 @@ CFLAGS=$CFLAGS -D__plan9__ -DNO_PORTMIDI -I/sys/include/npe -I/sys/include/npe/S
HFILES=\
/sys/include/npe/stdio.h\
src/devices/apu.h\
src/devices/mpu.h\
src/devices/ppu.h\
src/uxn.h\
@ -35,13 +34,13 @@ bin/uxncli: uxncli.$O uxn.$O
bin/uxnasm: uxnasm.$O
$LD $LDFLAGS -o $target $prereq
bin/uxnemu: uxnemu.$O apu.$O mpu.$O ppu.$O uxn.$O
bin/uxnemu: uxnemu.$O apu.$O ppu.$O uxn.$O
$LD $LDFLAGS -o $target $prereq
(uxnasm|uxncli|uxnemu|uxn)\.$O:R: src/\1.c
$CC $CFLAGS -Isrc -o $target src/$stem1.c
(apu|mpu|ppu)\.$O:R: src/devices/\1.c
(apu|ppu)\.$O:R: src/devices/\1.c
$CC $CFLAGS -Isrc -o $target src/devices/$stem1.c
nuke:V: clean