次の方法で共有


複数の記述ブロックのターゲット

複数の記述ブロックにあるターゲットを異なるコマンドを使って更新するには、ターゲットと依存ファイルの間で 2 つの連続するコロン (::) を指定します。

target.lib :: one.asm two.asm three.asm
    ml one.asm two.asm three.asm
    lib target one.obj two.obj three.obj
target.lib :: four.c five.c
    cl /c four.c five.c
    lib target four.obj five.obj

参照

概念

ターゲット