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

Use recursive $(MAKE). Fixes compatibility issues with non-GNU toolchains (BSD systems). #16

Merged
merged 1 commit into from May 28, 2015

Conversation

@tony
Copy link
Contributor

@tony tony commented May 28, 2015

By default, FreeBSD uses the it's own MAKE(1). We can install GNU Make via pkg install gmake and use gmake to build GNU Makefiles.

The AlgoXY project uses recursive make commands. For this, it's best practice to use $(MAKE). This fixes the issue with compiling on BSD systems with gmake, as well improve portability all around.

https://www.gnu.org/software/make/manual/html_node/Recursion.html

…ode/Recursion.html. Fixes compatibility issues with nongnu toolchains (BSD systems).
@tony tony changed the title Use recursive $(MAKE). Fixes compatibility issues with nongnu toolchains (BSD systems). Use recursive $(MAKE). Fixes compatibility issues with non-GNU toolchains (BSD systems). May 28, 2015
liuxinyu95 added a commit that referenced this pull request May 28, 2015
Use recursive $(MAKE). Fixes compatibility issues with non-GNU toolchains (BSD systems).
@liuxinyu95 liuxinyu95 merged commit 7a2dd34 into liuxinyu95:algoxy May 28, 2015
@liuxinyu95
Copy link
Owner

@liuxinyu95 liuxinyu95 commented May 28, 2015

Thank you very much!
I also applied this changes to all other branches.

@tony tony deleted the tony:recursive-makefile branch May 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.