[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need solutions

From: Sebastian Pipping
Subject: Re: need solutions
Date: Sun, 12 Aug 2012 01:00:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120608 Thunderbird/13.0

On 08/07/2012 01:26 PM, thangarasu s wrote:
> what is contents of makefile for helloworld.c program....then 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=native   -c -o helloworld.o helloworld.c
cc   helloworld.o   -o helloworld



reply via email to

[Prev in Thread] Current Thread [Next in Thread]