ref: e43dbe8cc89f1945b25b7fdbac45e8e61f8273c1
parent: 6c67645815fbc073b43286f144046d2396fb7804
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri Mar 10 15:10:30 EST 2023
plan 9: make libllt.$O.a instead of libllt.a
--- a/flisp.c
+++ b/flisp.c
@@ -36,7 +36,7 @@
#define INT_MAX 0x7fffffff
#define UINT_MAX 0xffffffffU
#define INT_MIN (-INT_MAX-1)
-#pragma lib "./llt/libllt.a"
+#pragma lib "./llt/libllt.$O.a"
#else
#include <stdlib.h>
#include <stdio.h>
--- a/llt/mkfile
+++ b/llt/mkfile
@@ -1,5 +1,5 @@
</$objtype/mkfile
-LIB=libllt.a
+LIB=libllt.$O.a
CFLAGS=$CFLAGS -p -DPLAN9 -DNDEBUG -D__${objtype}__
--- a/mkfile
+++ b/mkfile
@@ -34,9 +34,9 @@
</sys/src/cmd/mkone
-$O.out: llt/libllt.a
+$O.out: llt/libllt.$O.a
-llt/libllt.a:
+llt/libllt.$O.a:
cd llt && mk
bootstrap:V: $O.out