【发布时间】:2012-04-08 13:04:24
【问题描述】:
- 实用程序:NMake
- 平台:Windows 7
我有以下 Makefile
FILE = $(shell) *.c
FILE += $(shell) *.cpp
exec:
@echo $(FILE)
这与 make 完美配合。这会用 nmake 引发以下错误
makefile(2) : fatal error U1036: syntax error : too many names to left of '='
Stop.
可能是什么原因?
没有线
FILE += $(shell) *.cpp
nmake 工作得非常好。
【问题讨论】: