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

Projects
None yet
2 participants
@tony
Contributor

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

Use recursive $(MAKE) https://www.gnu.org/software/make/manual/html_n…
…ode/Recursion.html. Fixes compatibility issues with nongnu toolchains (BSD systems).

@tony tony changed the title from Use recursive $(MAKE). Fixes compatibility issues with nongnu toolchains (BSD systems). to 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

Merge pull request #16 from tony/recursive-makefile
Use recursive $(MAKE). Fixes compatibility issues with non-GNU toolchains (BSD systems).

@liuxinyu95 liuxinyu95 merged commit 7a2dd34 into liuxinyu95:algoxy May 28, 2015

@liuxinyu95

This comment has been minimized.

Show comment
Hide comment
@liuxinyu95

liuxinyu95 May 28, 2015

Owner

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

Owner

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