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

add USER_LIBS to common.mk #377

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

briantilley
Copy link

This is to solve issue #376; libraries can now be added to a project with the addition of USER_LIBS=... to the Makefile without removing those from parameters.mk.

@vlad-ivanov-name
Copy link
Contributor

Wouldn't the following do the same (libm is used as example)?

PROGRAM=test

include ../../common.mk

LIBS+=m

@briantilley
Copy link
Author

Yes, the end effect is the same. To me, at least, having a USER_LIBS variable makes the solution clearer when trying to add a library.

@UncleRus
Copy link
Member

UncleRus commented May 9, 2017

I believe that EXTRA_LIBS will be better name.

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.

3 participants