Register / Login
Win a copy of
Java Mock Exams (software)
this week in the
Programmer Certification (OCPJP)
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Linux / UNIX
Makefile experts. help!
posted 10 years ago
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.
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
Mac OS X and SunOS problems running files
Error with the makefile in eclipse
How to build a shared library for JNI
Singleton pattern - volatile doubt