The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-11-2007
porter porter is offline
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by sivalives View Post
Arther: arther.o strings.o Useful.o
ld .... -o $(PROC_PREFIX)Arther ...
Are you producing an application or shared library?

99% of my makefiles have " -o $@ " so the output file is exactly the same as the rule product.

I only use $(LD) to link shared libraries, I use $(CC) or $(CXX) to link applications.
Reply With Quote