views:

25

answers:

0

Is possible to detect automatically source dependency in a NMake makefile using VS 2005 compiler (as actually possible with GNU make and GCC compiler)?

Look at the '-M' option of GCC. Including the outputted text of GCC in the makefile cause to automatically track source dependencies without maintaining them, since the GCC invocation can be automated using a phony target.