Skip to content

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