shithub: femtolisp

Download patch

ref: 6bd02b4a8d25b4dcf8095044ff820e3302153e92
parent: 24557f119e5ebae9e7d97b314baecd7cd4237550
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri Mar 10 11:21:35 EST 2023

mkfile: clean/nuke llt as well

--- a/mkfile
+++ b/mkfile
@@ -32,8 +32,6 @@
 	mkdir -p /sys/lib/flisp/
 	cp $prereq $target
 
-CLEANFILES=llt/libllt.a
-
 </sys/src/cmd/mkone
 
 $O.out: llt/libllt.a
@@ -46,3 +44,11 @@
 	./$O.out mkboot0.lsp system.lsp compiler.lsp > flisp.boot.new && \
 	mv flisp.boot.new flisp.boot && \
 	./$O.out mkboot1.lsp
+
+nuke:V:
+	rm -f *.[$OS] [$OS].out *.acid $TARG $CLEANFILES
+	cd llt && mk nuke
+
+clean:V:
+	rm -f *.[$OS] [$OS].out $TARG $CLEANFILES
+	cd llt && mk clean