shithub: femtolisp

Download patch

ref: 1d2ccbb5820bc4097d80f5145b10122656953b8f
parent: 7b7d22126219a215b941b4b40fe05ac90a46a0ed
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Mon Dec 2 10:55:31 EST 2024

plan9: everything depends on builtin_fns.h

--- a/mkfile
+++ b/mkfile
@@ -47,10 +47,8 @@
 	sed -n 's/^BUILTIN[_]?(\(".*)/BUILTIN_FN\1/gp' \
 		`{ls `{echo $OFILES | sed 's/\.'$O'/.c/g'} >[2]/dev/null} | sort >$target
 
-builtins.$O: plan9/builtin_fns.h
 cvalues.$O: fl_arith_any.inc
-flisp.$O: maxstack.inc opcodes.h plan9/builtin_fns.h
-main_plan9.$O: plan9/builtin_fns.h
+flisp.$O: maxstack.inc opcodes.h
 
 plan9/flisp.boot.s:D: flisp.boot
 	aux/data2s boot <flisp.boot >$target
@@ -60,6 +58,8 @@
 
 %.$O: %.c
 	$CC $CFLAGS -o $target $stem.c
+
+%.$O: plan9/builtin_fns.h
 
 bootstrap:V: $O.out
     ./$O.out gen.lsp && \