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

%B is not stripping the whole file extension #450

Open
uohmak4fvpqe opened this issue Jan 30, 2022 · 0 comments
Open

%B is not stripping the whole file extension #450

uohmak4fvpqe opened this issue Jan 30, 2022 · 0 comments

Comments

@uohmak4fvpqe
Copy link

uohmak4fvpqe commented Jan 30, 2022

I like to stack up extensions in each build step, so that I have, say, main.cc, then main.cc.o successive outputs.
Which is why I actually didn't notice this before : %B seems to only strip the very last extension, for instance if in a rule %f is io.cc.o, then %B.so is io.cc.so, instead of io.so

I admit I'm not entirely sure however if that should be considered an issue or the expected behavior of %B. I feel like both could be useful, think about typical linux stuff like x.tar.xz.

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

No branches or pull requests

1 participant