shithub: riscv

Download patch

ref: 7aceac32e8fae763634f28cfccd9ce2356fccab5
parent: 2b202ec918fc32d788248287225091eacb89faf4
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat May 4 15:38:39 EDT 2024

eqn: fix silly mkfile

prevy.tab.h not used at all, dependency between
y.tab.c and y.tab.h is just *WRONG*.

--- a/sys/src/cmd/eqn/mkfile
+++ b/sys/src/cmd/eqn/mkfile
@@ -30,8 +30,6 @@
 HFILES=e.h\
 	y.tab.h\
 
-CLEANFILES=prevy.tab.h\
-
 BIN=/$objtype/bin
 </sys/src/cmd/mkone
 CC=pcc
@@ -38,8 +36,3 @@
 LD=pcc
 YFLAGS=-d -S
 CFLAGS=-c
-
-y.tab.c:	prevy.tab.h
-
-prevy.tab.h:	y.tab.h
-	rc -c 'cmp -s y.tab.h prevy.tab.h || cp y.tab.h prevy.tab.h'