help-make
[Top][All Lists]
Advanced

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

make file


From: terry vu
Subject: make file
Date: Fri, 3 Sep 2004 00:13:16 +1000 (EST)

Dear Ladies/Gents,

I want to add gcc -p command in make file so i can use
prof command later.

But I don't know where to put it.
I had try as following but it did'nt work

foo:main.o foo.o
        gcc -p -o foo main.o foo.o
main.o:main.c foo.h
        gcc -c main.c
foo.o:foo.c foo.h
        gcc -c foo.c

Thanks in advance
TV

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com




reply via email to

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