Thanks man..

On Mon, Sep 19, 2011 at 8:15 PM, Dave <dave_and_da...@juno.com> wrote:

> @Saurabh: Maybe after the line
> p1.o : p1.c
> you should insert the line
>        gcc -c p1.c
> Without that, make uses the default rule for constructing a .o file
> from a .c file.
>
> Dave
>
> On Sep 19, 4:58 am, Saurabh <saurabh24...@gmail.com> wrote:
> > Can any one have any idea how this make file is working.
> > Without compiling gcc -c p1.c.
> >
> > *******************************
> > exe : p1.o
> >         gcc -o exe p1.o
> > p1.o : p1.c
> > clean:
> >         rm *.o
> >         rm exe
> > ***********************************
> > Makefile output as follows :
> > cc    -c -o p1.o p1.c // I am not getting this line ???
> > gcc -o exe p1.o
> >
> > --
> > Regards  n Luv
> > Saurabh Badhai
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>


-- 
Regards  n Luv
Saurabh Badhai

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to