test
Makefileにターゲットがありtest
、プロジェクトにディレクトリがあります。GNU Makeでは、次のように偽物であると宣言できます。
.PHONY: all compile test clean docs static
NMakeで同じことをすることは可能ですか?http://www.bell-labs.com/project/nmake/tutorial/s6.htmlによると、私はする必要があります
test: .VIRTUAL
しかし、それは機能しません:
F:\SomePath>nmake test /f msvc.mk
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1073: don't know how to make '.VIRTUAL'
Stop.