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

Improve Python code and generated Makefiles #1

Merged
merged 5 commits into from
Nov 17, 2021

Conversation

nsoranzo
Copy link
Contributor

See commits for details.

Close rcedgar/muscle#7 .

as recommended by PEP-8.
- Simplify by using pattern rules and automatic variables
- Use standard variable names
- Fix default target to include 'o/'
- Drop ccache
@rcedgar
Copy link
Owner

rcedgar commented Jul 15, 2021

This looks fine. There is only one difference between Makefile and Makefile_osx, which is the -static option in LDFLAGS, is there a way to generate a single Makefile which checks whether the o/s is Linux or OSX to determine whether this flag should be included?

for both Linux and macOS.
@nsoranzo
Copy link
Contributor Author

This looks fine. There is only one difference between Makefile and Makefile_osx, which is the -static option in LDFLAGS, is there a way to generate a single Makefile which checks whether the o/s is Linux or OSX to determine whether this flag should be included?

Of course, good point! I've added a commit to do that.

@rcedgar rcedgar merged commit 2efd85e into rcedgar:main Nov 17, 2021
@nsoranzo nsoranzo deleted the improve_for_muscle branch November 17, 2021 16:26
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