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

Reorganize Makefile, allowing MacOS & Linux build from a single makefile. #19

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

pettyalex
Copy link

Hello, I was installing this for my research lab and noticed some potential improvements.

This PR reorganizes the Makefile to use overridable variables, and also makes it easier to apply the same property flags to the compiler for all targets.

Additionally, it lets the single primary Makefile be used to build for MacOS or Linux.

Finally, this fixes a bug that I noticed where the Makefile as it existed previously was not setting -O3 on the compile step, meaning that the previously generated binaries were not optimized.

I'm planning to create a similar PR for https://github.com/xqwen/torus/

Thanks for taking a look!

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

1 participant