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

suport for include in makefile #5

Open
Itai-lupo opened this issue Jan 22, 2025 · 0 comments
Open

suport for include in makefile #5

Itai-lupo opened this issue Jan 22, 2025 · 0 comments

Comments

@Itai-lupo
Copy link

hello, love the project.
I have a makefile with include in it and the include also has targets in it.
something like:
in the make file:
-include $(SCRIPTS_DIR)/Makefile.tests

and in Makefile.tests

`
build_tests:
$(MAKE) $(BUILD_DIR)/include/files.json
$(MAKE) $(PCH_OUT)
compiledb -o $(BUILD_DIR)/compile_commands.json $(MAKE) all_tests

`

makeit doesn't recognize build_tests as makefile option option

Image

I looked at the code and I think it should be an easy addition.

in utils.lua you could match include statements and then recursive iterate them and add them to the options list.

do you think it will be possible to add that? I think it will be very cool

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