Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly specify prerequisites in Makefile #69

Closed
wants to merge 1 commit into from

Conversation

CounterPillow
Copy link

Previously, prerequisites for some targets were implicit in nature, meaning that whether the library targets actually attempted to link with object files compiled with -fPIC depended on the leftover files from previous build and the order in which targets were built.

This could lead to build failures for the libraries, and the standalone utilities may have been able to be linked with object files compiled with position independent code.

Furthermore, a target "all" was added to build all targets, and the phony targets were properly set to "all" and "clean".

This fixes issue #68.

Previously, prerequisites for some targets were implicit in nature,
meaning that whether the library targets actually attempted to link
with object files compiled with -fPIC depended on the leftover files
from previous build and the order in which targets were built.

This could lead to build failures for the libraries, and the standalone
utilities may have been able to be linked with object files compiled
with position independent code.

Furthermore, a target "all" was added to build all targets, and the
phony targets were properly set to "all" and "clean".

This fixes issue google#68.
@Hello71
Copy link
Contributor

Hello71 commented Sep 20, 2015

@CounterPillow
Copy link
Author

.lo doesn't mean what you think it means.

This project doesn't use libtool, and libtool itself explicitly states one should not make any assumption about the structure of .lo files.

#57

Didn't see this one before I opened mine. Oh well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants