Skip to content

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

Merged
liuxinyu95 merged 1 commit into
liuxinyu95:algoxyfrom
tony:recursive-makefile
May 28, 2015
Merged

Use recursive $(MAKE). Fixes compatibility issues with non-GNU toolchains (BSD systems).#16
liuxinyu95 merged 1 commit into
liuxinyu95:algoxyfrom
tony:recursive-makefile

Conversation

@tony
Copy link
Copy Markdown
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
Copy Markdown
Owner

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

@tony tony deleted the recursive-makefile branch May 28, 2015 08:55
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