uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 77bc54b0b3870c9b2e62d44f60311e2f545954a2
parent 3baad0adc1e8bbe62bae5b480520eb46ee023dce
Author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Date:   Mon, 17 May 2021 21:55:13 +0000

fix plan 9 build

Diffstat:
Mmkfile | 13++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/mkfile b/mkfile @@ -7,9 +7,9 @@ CFLAGS=$CFLAGS -I/sys/include/npe BIN=/$objtype/bin/uxn HFILES=\ /sys/include/npe/stdio.h\ - src/apu.h\ - src/mpu.h\ - src/ppu.h\ + src/devices/apu.h\ + src/devices/mpu.h\ + src/devices/ppu.h\ src/uxn.h\ CLEANFILES=${TARG:%=bin/%} `{echo $ROM | sed 's,([^ /]+/)+,bin/,g'} @@ -44,5 +44,8 @@ $O.debugger: debugger.$O uxn.$O $O.emulator: emulator.$O apu.$O mpu.$O ppu.$O uxn.$O -%.$O: src/%.c - $CC $CFLAGS -Isrc -o $target src/$stem.c +(assembler|debugger|emulator|uxn)\.$O:R: src/\1.c + $CC $CFLAGS -Isrc -o $target src/$stem1.c + +(apu|mpu|ppu)\.$O:R: src/devices/\1.c + $CC $CFLAGS -Isrc -o $target src/devices/$stem1.c