www.digitalmars.com         C & C++   DMDScript  

c++.command-line - SMAKE

When I tried the following make file

cpp.obj :
sc -c $<

obj.exe :
sc $**

test.exe : test.obj util.obj
test.obj : test.cpp util.h
util.obj : util.cpp

The result of running SMAKE is as follows:

sc -c test.cpp
sc -c util.cpp
sc "test.obj util.obj test.cpp"
Fatal error: unable to open input file 'test.obj util.obj test.cpp'
It seems to me SMAKE did too good the job of determining dependents.
Apr 05 2002