www.digitalmars.com         C & C++   DMDScript  

c++.command-line - create dependencies?

reply mjs NOSPAM.hannover.sgh-net.de (Mark Junker) writes:
Hi,

how can I use spp or sc to create dependencies that I can include in  
makefiles? GNU and Borland C compilers have a -M[M][D] switch. Is there  
something similar in DM/SC++?

Best regards,
MJS
Feb 09 2003
next sibling parent Jan Knepper <jan smartsoft.us> writes:
There is a utility makedep.exe and also a dep.exe around that can do this
for you.

Jan



Mark Junker wrote:

 Hi,

 how can I use spp or sc to create dependencies that I can include in
 makefiles? GNU and Borland C compilers have a -M[M][D] switch. Is there
 something similar in DM/SC++?

 Best regards,
 MJS

Feb 09 2003
prev sibling parent "Walter" <walter digitalmars.com> writes:
Try: www.digitalmars.com/ctg/smake.html#makedep


"Mark Junker" <mjs NOSPAM.hannover.sgh-net.de> wrote in message
news:8fW2sqKO8gB hannover.sgh-net.de...
 Hi,

 how can I use spp or sc to create dependencies that I can include in
 makefiles? GNU and Borland C compilers have a -M[M][D] switch. Is there
 something similar in DM/SC++?

 Best regards,
 MJS

Feb 09 2003