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

Problems with SHELL=cmd and mingw32-make #2225

Open
ghost opened this issue Jul 20, 2024 · 1 comment
Open

Problems with SHELL=cmd and mingw32-make #2225

ghost opened this issue Jul 20, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 20, 2024

If there are too many objects, the clean command will fail.

Discovered when building this project:

https://github.com/SpartanJ/eepp

This generated code is problematic:

	$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
	$(SILENT) if exist $(subst /,\\,$(GENERATED)) del /s /q $(subst /,\\,$(GENERATED))
	$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
@ghost
Copy link
Author

ghost commented Jul 20, 2024

To be clear, it's trying to execute the object files (.o extension) instead of deleting them. This is extremely hard to debug since there is no --verbose switch or something like that.

@ghost ghost changed the title Problems with SHELL=cmd Problems with SHELL=cmd and mingw32-make Jul 20, 2024
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

0 participants