On 08/07/2012 01:26 PM, thangarasu s wrote:
> what is contents of makefile for helloworld.c programthen how to
> compile and execute it ..
With use of implicit rules that would be:
$ cat Makefile
helloworld: helloworld.o
$ CFLAGS='-O2 -pipe -march=native' make
cc -O2 -pipe -march
On 08/11/2012 11:49 AM, Tim Murphy wrote:
> For the sake of understanding you properly, if you can detect, remove and
> add targets then 'replacing the recipe silently' is just these three
> operations in sequence, right?
>
No. A target might be defined, but might have or not have an associated
re
For the sake of understanding you properly, if you can detect, remove and
add targets then 'replacing the recipe silently' is just these three
operations in sequence, right? We can already add targets but not the
other two.
Cheers,
Tim
On Aug 11, 2012 10:53 AM, "Stefano Lattarini"
wrote:
> On
On 08/11/2012 07:36 AM, Tim Murphy wrote:
> This is a different thing but I'd have had great use for a way to tell if a
> target had been defined previously. Had to use variables to do it which
> used a lot of memory and it was a total waste because make has the
> information already.
>
I dimly rem