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

Makefile supporting variable overriding for tools. #15

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment
Open

Makefile supporting variable overriding for tools. #15

GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Use:

SHELL?=$(BIN)/sh
RM?= $(BIN)/rm
AR?= $(BIN)/ar
CC?= $(BIN)/gcc
LD?= $(BIN)/ld 

Instead of:

SHELL=$(BIN)/sh
RM= $(BIN)/rm
AR= $(BIN)/ar
CC= $(BIN)/gcc
LD= $(BIN)/ld

Original issue reported on code.google.com by Stephane.D on 31 Jul 2013 at 7:49

@Stephane-D
Copy link
Owner

This syntax:
SHELL?=$(BIN)/sh

does not seem to be supported by all make tools, at least it does not work on mine.
Is there any alternative and more generic syntax for that ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants