Quote:
Originally Posted by sivalives
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.