shithub: qk1

Download patch

ref: ea674dba3ef926225384c525cba60ea03d1a18b5
parent: bcbfa16724e5ae7f9ec16264fa98fadc858c070b
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Jan 2 20:59:18 EST 2024

mkfile, Makefile: fix d_scan.$O and r_surf.$O deps

--- a/Makefile
+++ b/Makefile
@@ -158,7 +158,11 @@
 
 ${OBJS}: ${HDRS}
 
+d_scan.o: r_fog.h
+
 i_resize.o: stb_image_resize2.h
+
+r_surf.o: r_surf_block.h r_surf_light.h r_surf_x.h
 
 clean:
 	rm -f ${TARG} ${OBJS}
--- a/mkfile
+++ b/mkfile
@@ -132,7 +132,11 @@
 
 </sys/src/cmd/mkone
 
+d_scan.$O: r_fog.h
+
 i_resize.$O: stb_image_resize2.h
+
+r_surf.$O: r_surf_block.h r_surf_light.h r_surf_x.h
 
 i_resize.$O: i_resize.c
 	$CC $CFLAGS -p i_resize.c