a
This commit is contained in:
22
mklib-Windows
Normal file
22
mklib-Windows
Normal file
@ -0,0 +1,22 @@
|
||||
TARGOBJ=${OFILES:%=$TARG(%)}
|
||||
|
||||
all:V: $TARG.all
|
||||
|
||||
inc:V: $TARG
|
||||
|
||||
$TARG: $TARGOBJ
|
||||
$AR $ARFLAGS -out:$TARG $newmember
|
||||
|
||||
$TARG.all:V: $OFILES
|
||||
rm -f $TARG
|
||||
$AR $ARFLAGS -out:$TARG $OFILES
|
||||
|
||||
%.$O: $HFILES # don't combine with following %.$O rules
|
||||
|
||||
%.$O: %.c
|
||||
$CC $CFLAGS $stem.c
|
||||
|
||||
%.$O: %.s
|
||||
$AS $AFLAGS $stem.s
|
||||
|
||||
$TARG(%.$O):N: %.$O
|
Reference in New Issue
Block a user