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 |
c++ - makedep redirect to file
Hi, I can't get makedep to write to a file. In the docs, the following technique is suggested: makedep -s sourcefile.cpp > outfile.dep but when I try this, the '>' is treated as a file to create dependancies for. As is 'outfile.dep'. Without redirection, how (and where) would this utility be used in the makefile? I've tried numerous things but usually I get the error: missing { Colon Colon2 } in target block -- Marc. Oct 19 2002
There should be no space between the > and the outfile.dep. Try running it from the command prompt. "Marc Kealy" <marc kealy.fslife.co.uk> wrote in message news:aorpk0$22rp$1 digitaldaemon.com...Hi, I can't get makedep to write to a file. In the docs, the following technique is suggested: makedep -s sourcefile.cpp > outfile.dep but when I try this, the '>' is treated as a file to create dependancies for. As is 'outfile.dep'. Without redirection, how (and where) would this utility be used in the makefile? I've tried numerous things but usually I get the error: missing { Colon Colon2 } in target block -- Marc. Oct 19 2002
Sorry, I replied personnally and not to the group by mistake. No. Makedep then thinks that '>outfile.dep' is a file to create dependancies for. -- Marc. "Walter" <walter digitalmars.com> wrote in message news:aos4vv$2dp6$1 digitaldaemon.com...There should be no space between the > and the outfile.dep. Try running it from the command prompt. "Marc Kealy" <marc kealy.fslife.co.uk> wrote in message news:aorpk0$22rp$1 digitaldaemon.com...Hi, I can't get makedep to write to a file. In the docs, the following technique is suggested: makedep -s sourcefile.cpp > outfile.dep but when I try this, the '>' is treated as a file to create dependancies for. As is 'outfile.dep'. Without redirection, how (and where) would this utility be used in the makefile? I've tried numerous things but usually I get the error: missing { Colon Colon2 } in target block -- Marc. Oct 19 2002
In article <aos7cj$2fve$1 digitaldaemon.com>, Marc Kealy says...Makedep then thinks that '>outfile.dep' is a file to create dependancies for. Oct 19 2002
"bw" <bw_member pathlink.com> wrote in message news:aosen4$2mv3$1 digitaldaemon.com...In article <aos7cj$2fve$1 digitaldaemon.com>, Marc Kealy says...Makedep then thinks that '>outfile.dep' is a file to create dependancies for. Oct 19 2002
In article <aosghh$2ol5$1 digitaldaemon.com>, Marc Kealy says...I should have mentioned it's WinME. I've tried all the variations I can think of for the cmdline, but no joy. Besides, redirection works ok with other programs. Oct 19 2002
In article <aosghh$2ol5$1 digitaldaemon.com>, Marc Kealy says...I should have mentioned it's WinME. Oct 19 2002
"bw" <bw_member pathlink.com> wrote in message news:aosifo$2qpf$1 digitaldaemon.com...In article <aosghh$2ol5$1 digitaldaemon.com>, Marc Kealy says...I should have mentioned it's WinME. Oct 20 2002
In article <aotsps$11g1$1 digitaldaemon.com>, Marc Kealy says...where I stand now:- .cpp.dep: makedep -s $*.cpp >$*.dep Oct 20 2002
"bw" <bw_member pathlink.com> wrote in message news:aoug7q$1jgv$1 digitaldaemon.com...In article <aotsps$11g1$1 digitaldaemon.com>, Marc Kealy says...where I stand now:- .cpp.dep: makedep -s $*.cpp >$*.dep Oct 20 2002
In article <aouiho$1lna$1 digitaldaemon.com>, Marc Kealy says....cpp.dep: makedep -s $*.cpp >$*.dep Oct 20 2002
|