[Issue 6622] New: rdmd --makedepend lists "dmd.conf" and "dmd"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 8 03:23:38 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6622
Summary: rdmd --makedepend lists "dmd.conf" and "dmd"
Product: D
Version: D2
Platform: Other
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: soul8o8 at gmail.com
--- Comment #0 from Heywood Floyd <soul8o8 at gmail.com> 2011-09-08 03:23:18 PDT ---
// --- k.d ---
// (empty)
// ----------
// --- m.d ---
import k;
void main(){}
// ---------
[Bug]
# rdmd --makedepend m.d
m.d : /Library/Compilers/dmd2/osx/bin/dmd.conf k.d
/Library/Compilers/dmd2/osx/bin/dmd
# rdmd
rdmd build 20110906
...
# _
[Expected results]
# rdmd --makedepend m.d
m.d : k.d
# _
_____
(Side note: I'm using this to build makefile dependencies on the fly, like this
SERVER_D_FILES = $(shell rdmd --makedepend src/server.d | cut -d : -f 2)
Can anyone figure out a simple workaround for this, except adding all the files
manually?
Side note 2: It would be nice if DMD could handle this on its own hint hint...)
_____
PS. Very nice release anyway! thanks
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list