[phobos] obj lines in win32.mak

Jonathan M Davis jmdavisProg at gmx.com
Sun Jan 22 22:03:21 PST 2012


Is there any point to the obj rules in win32.mak? .e.g.

charset.obj : std\windows\charset.d
	$(DMD) -c $(DFLAGS) std\windows\charset.d

As far as I can tell, no obj files are generated except for etc.c.zlib and few 
other specific modules. So, do these rules have any purpose? And if they do, 
they don't seem to take the module hierarchy into account. e.g.

isemail.obj : std\net\isemail.d
	$(DMD) -c $(DFLAGS) std\net\isemail.d

So, what's the purpose of these rules? Can they be removed? And if not, 
shouldn't they be fixed to take the module hierarchy into account?

- Jonathan M Davis


More information about the phobos mailing list