From 3d9aa3b7e50f16890abcbe1aacd359b9a8e2798b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Fri, 7 Jan 2022 17:19:01 +0100 Subject: [PATCH] fix Plan 9 build (npe update required as well) --- mkfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mkfile b/mkfile index 0182b1a..223f462 100644 --- a/mkfile +++ b/mkfile @@ -11,6 +11,7 @@ HFILES=\ src/devices/file.h\ src/devices/mouse.h\ src/devices/screen.h\ + src/devices/system.h\ src/uxn.h\ CLEANFILES=$TARG $ROM @@ -31,19 +32,19 @@ bin: %.rom:Q: %.tal bin/uxnasm 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 bin/uxnasm: uxnasm.$O $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 (uxnasm|uxncli|uxnemu|uxn)\.$O:R: src/\1.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 nuke:V: clean