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

Change LIBS to LDFLAGS in Makefiles #907

Merged
merged 1 commit into from
Jul 10, 2023
Merged

Conversation

xexyl
Copy link

@xexyl xexyl commented Jul 10, 2023

This is to make it more standard which further allows one to run make on some other source code, say because they want to try and fix an entry but forget to update the Makefile. Or if they're the author they can not worry about it in some cases. But since LDFLAGS is the standard way it seems better to have the LIBS variable in the Makefile be LDFLAGS.

Maybe there is a reason to not have this and I'm happy to close this in that case but it does seem better this way so I'm doing this commit.

This is to make it more standard which further allows one to run make on
some other source code, say because they want to try and fix an entry
but forget to update the Makefile. Or if they're the author they can not
worry about it in some cases. But since LDFLAGS is the standard way it
seems better to have the LIBS variable in the Makefile be LDFLAGS.

Maybe there is a reason to not have this and I'm happy to close this in
that case but it does seem better this way so I'm doing this commit.
@xexyl
Copy link
Author

xexyl commented Jul 10, 2023

Another reason to have this is that the Makefile.example in the other repo also uses LDFLAGS.

@lcn2 lcn2 merged commit 6acecd7 into ioccc-src:master Jul 10, 2023
@lcn2
Copy link

lcn2 commented Jul 10, 2023

This is a very reasonable charge @xexyl

@xexyl
Copy link
Author

xexyl commented Jul 10, 2023

This is a very reasonable charge @xexyl

Glad you agree and happy to help! I just added the missing files from Yusuke. I have very little time before I must leave. I might be able to do more later on but I'm not sure of that. I might try and get the FAQ updated for original code but I'm not sure if I will get that in.

@xexyl xexyl deleted the libs-ldflags branch July 10, 2023 17:02
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.

2 participants