ref: 8b4a3db418e246dc07abd839776df99dfc38498d
parent: b37dab87f613694f572f07081f7d5cf5528db9e1
author: kvik <kvik@a-b.xyz>
date: Wed Feb 24 11:58:13 EST 2021
build: use nicer object archive name
--- a/mkfile
+++ b/mkfile
@@ -2,7 +2,8 @@
CFLAGS=-FTV -p -I../shim -DLUA_USE_PLAN9 -DLUA_UCID
-CORETARG=liblua.a$O
+LIB=liblua.a.$O
+
COREOBJS=\
lapi.$O\
lcode.$O\
@@ -42,14 +43,13 @@
linit.$O
ALLOBJS=$COREOBJS $LIBOBJS
-ALLTARG=$CORETARG $LUATARG
-all:V: $CORETARG $LUATARG
+all:V: $LIB
clean:V:
- rm -f $LUATARG *.[$OS] *.a[$OS]
+ rm -f *.[$OS] *.a.[$OS]
-$CORETARG: $COREOBJS $LIBOBJS
+$LIB: $ALLOBJS
ar cr $target $prereq
%.$O: %.c