Re: [algogeeks] Re: Makefile in c doubt???

2011-09-20 Thread Saurabh
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,

[algogeeks] Re: Makefile in c doubt???

2011-09-19 Thread Dave
@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.