|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D - -Ipath (again)
Walter,
Can't remember your reply last time this reared its head but ....
how do I get a dir onto the D search path;
I would like to have my source layed out like ...
i:/<some path>/bin <- final dest
i:/<some path>/src <- app source
i:/<some path>/src/mypackage <- source for mypackage modules;
i:/<some path>/bin <- final dest
i:/<some path>/obj <- object file amde from things in ./src
i:/<some path>/obj/mypackage <- object file amde from things in
./src/mymodule
I'm using the make that comes with mingw ('cos I'm used to its syntax).
and allows
obj/%.obj : src/%.d
$(DMD) $(D_FLAGS) -o $ $<
(which is about the same as this with your make)
.d.obj :
$(DMD) $(D_FLAGS) -o $ $**
but I can not get it to work :( also do you support the use of / instead of
\ for dir sep. ?
Mike.
Dec 12 2002
Not sure how to answer, what is going wrong? I've never used mingmake. DMD should support / for path separators. -Walter "Mike Wynn" <mike.wynn l8night.co.uk> wrote in message news:atba1n$sqv$1 digitaldaemon.com... Dec 14 2002
|