From e792fd01b756238a6e25a18aef57782d65a20460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Sat, 24 Apr 2021 15:14:29 +0000 Subject: [PATCH] mkfile: fix clean rule --- mkfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mkfile b/mkfile index d0c35ba..db7bc5b 100644 --- a/mkfile +++ b/mkfile @@ -2,6 +2,7 @@ TARG=assembler debugger emulator USM=`{walk -f projects/ | grep '\.usm$' | grep -v blank.usm} +ROM=${USM:%.usm=%.rom} CFLAGS=$CFLAGS -I/sys/include/npe BIN=/$objtype/bin/uxn HFILES=\ @@ -10,11 +11,11 @@ HFILES=\ src/ppu.h\ src/uxn.h\ -CLEANFILES=${TARG:%=bin/%} ${ROM:%=bin/%.rom} +CLEANFILES=${TARG:%=bin/%} `{echo $ROM | sed 's,([^ /]+/)+,bin/,g'} default:V: all -all:V: ${TARG:%=bin/%} ${USM:%.usm=%.rom} +all:V: ${TARG:%=bin/%} $ROM