From a40ef1434889babbd88c9d0c5913c70e96ac2774 Mon Sep 17 00:00:00 2001 From: "Konstantin Kirik (snegovick)" Date: Fri, 12 Dec 2025 03:51:07 +0300 Subject: Add simple parser for future shell-like lang --- mkfile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 mkfile (limited to 'mkfile') diff --git a/mkfile b/mkfile new file mode 100644 index 0000000..cf68f33 --- /dev/null +++ b/mkfile @@ -0,0 +1,35 @@ +<../../../mkconfig + +TARG=sh92.dis\ + sh9util.dis\ + sh9parser.dis\ + +INS= $ROOT/dis/sh92.dis\ + $ROOT/dis/sh9/sh9util.dis\ + $ROOT/dis/sh9/sh9parser.dis\ + +SYSMODULES=\ + sys.m\ + +DISBIN=$ROOT/dis/sh9 + +<$ROOT/mkfiles/mkdis + +all:V: $TARG + +install:V: $INS + cp $DISBIN/sh92.dis $DISBIN/.. + +nuke:V: clean + rm -f $INS + +clean:V: + rm -f *.dis *.sbl + +uninstall:V: + rm -f $INS + +$ROOT/dis/sh92.dis: sh92.dis + mkdir $DISBIN/ && rm -f $ROOT/dis/sh92.dis && cp sh92.dis $ROOT/dis/sh92.dis + +%.dis: ${SYSMODULES:%=$MODDIR/%} -- cgit v1.2.3