Module without object file?

frame frame86 at live.com
Fri Jan 7 09:18:29 UTC 2022


On Thursday, 6 January 2022 at 22:54:59 UTC, kdevel wrote:

> In my setup make decides which file to (re)compile. Just found 
> that dmd has the option -makedeps which resembles gcc's -M but 
> theres no -MM to excluded dependencies from system files. Also 
> gcc -M/-MM does not compile while dmd always generated object 
> file(s), too. Is there any way to stop this object file 
> generation?

Yes, `-o-`. Not sure about `-MM` equivalent but if you manually 
process the dependencies you can filter the "system" files out 
anyway.

I don't understand how your setup works. Is there any problem by 
recompiling those files with dmd `-i` switch?


More information about the Digitalmars-d-learn mailing list