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


Best,



Sebastian

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to