shithub: cuefs

Download patch

ref: 82b09422d20fadb595f0bde7d388441047944255
parent: a3ab642abb64603e3fbef313dee420a704e95563
author: Tevo <estevan.cps@gmail.com>
date: Fri Nov 20 20:52:50 EST 2020

Use /sys/src/cmd/mkone instead

--- a/mkfile	Fri Nov 20 20:46:38 2020
+++ b/mkfile	Fri Nov 20 20:52:50 2020
@@ -6,10 +6,10 @@
 YFILES=\
 	cue.y
 
-HDR=\
+HFILES=\
 	cuefs.h
 
-OBJ=\
+OFILES=\
 	lex.yy.$O	\
 	y.tab.$O	\
 	main.$O		\
@@ -17,19 +17,6 @@
 	cue.$O		\
 	fs.$O
 
-CFLAGS=$CFLAGS
+LFLAGS=-9
 
-%.$O: %.c $HDR
-	$CC $CFLAGS $stem.c
-
-$O.out: $OBJ
-	$LD $prereq
-
-lex.yy.c: $LFILES y.tab.h
-	$LEX -9 $LFILES
-
-y.tab.c y.tab.h: $YFILES mkfile
-	$YACC -d $YFILES
-
-clean nuke:V:
-	rm -f lex.yy.c y.debug y.tab.[ch] *.[$OS] [$OS].*
+</sys/src/cmd/mkone