jQuery in Action, 3rd edition
The moose likes Linux / UNIX and the fly likes Makefile experts. help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Makefile experts. help!" Watch "Makefile experts. help!" New topic

Makefile experts. help!

Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
I want to generate .o first, then executable or shared library (.so).

I can produce a shared library (.so) by using makefile. However, when I tried to generate .o first, then .so, I encountered many multi-definition errors, a long list! Don't know why.

Can some makefile experts explain possible "why" or provide me a relative complicated with multi-directory inter-dependencies makefile example? C or C++

One file, not the VC or Eclipse generated 25 files or more. BTW, I am on Linux.

Huge Thanks!!!
I agree. Here's the link: http://aspose.com/file-tools
subject: Makefile experts. help!
It's not a secret anymore!