Re: Make File

From: Priya Mishra (mis.priya_at_gmail.com)
Date: 07/06/05


Date: 6 Jul 2005 06:27:37 -0700


Pascal Bourguignon wrote:
> "Priya Mishra" <mis.priya@gmail.com> writes:
>
> > Stephane Zuckerman wrote:
> >> > I am new to the Unix, but know most of the baseic commands,
> >> > can any on let me know how to make the MAKE FILE for in the
> >> > LINUX ? Pleas egive me the basic Idea on this, I am runing
> >> > short of time, and your help may help me a lot.
> >> What exactly do you need to know to do with your makefile ?
> >>
> >> Basically, you have a set of rules that are active if the files that
> >> depend on them are modified.
> >>
> >> Look for a makefile howto.
> >
> > Actually I have the source code and the make file also, I have to
> > compile
> > the whole code and check weather it is compiling or not ? please
> > suggest me
> > how to proceed
>
> Assume you have the sources and the Makefile in the directory named src.
> Then you proceed typing the following command:
>
> make -C src

  Still I am not able to compile, What i did i put all the source code
  and the make file in the folder name src, then wrote the above
command
  make -c src .... it is not working instead it is giving the
  USAGE:
    make[-afshdfhguehew][-p#][-f file][macro[*][:]=value
....][target....]

  What To Do :-( :-( ??

>
> Usually this prints the compilation commands as they're executed.
>
> --
> __Pascal Bourguignon__ http://www.informatimago.com/
>
> Nobody can fix the economy. Nobody can be trusted with their finger
> on the button. Nobody's perfect. VOTE FOR NOBODY.



Relevant Pages

  • Re: C++/TCL Need Solution to Compile Error c2784
    ... There's always the "Platform SDK" from MSDN if you need the window.h stuff, ... Since I'm using the Command Prompt rather than the GUI to compile the ... I then tried to compile your source code and I kept getting the same ...
    (comp.lang.tcl)
  • Re: Debugging Newbie Question
    ... The CLR does not understand this source code and so before it ... ASP.NET, however, ASP.NET will compile your page's source code and cache ... the debugger will have IL and x86 created from ... in release mode assemblies. ...
    (microsoft.public.dotnet.faqs)
  • Re: Debugging Newbie Question
    ... The CLR does not understand this source code and so before it ... ASP.NET will compile your page's source code and cache the result ... > does this so that a debugger can attach to the code and allow you to step ... > release mode assemblies. ...
    (microsoft.public.dotnet.faqs)
  • The curse of constant fields
    ... feature in the Java language, and decided to write up about it. ... in a class, compile the changed class, and run the code manually to ... A quick search through the source code shows that there is no other ... This is true even if the usage itself is not ...
    (comp.lang.java.programmer)
  • Re: creaping coupling......
    ... In C++ it would be trivial to break that source code dependency, ... When you compile a .java module, ... In Java and C# it's asserted at compile time. ...
    (comp.object)