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

Makefiles created with mkfmf do not clean out .mod files #444

Closed
hkershaw-brown opened this issue Dec 29, 2022 · 1 comment
Closed

Makefiles created with mkfmf do not clean out .mod files #444

hkershaw-brown opened this issue Dec 29, 2022 · 1 comment
Labels
back burner very low priority. Future work?

Comments

@hkershaw-brown
Copy link
Member

The makefiles created with mkmf do not clean out .mod files

make clean

leaves a bunch of *.mod files.

In mkmf,

-print MAKEFILE "clean: neat\n\t-rm -f .cppdefs \$(OBJ) $opt_p\n";
print MAKEFILE "clean: neat\n\t-rm -f .cppdefs *.mod \$(OBJ) $opt_p\n";

Or something a bit cleverer, e.g. only deleting .mods created when running make (for that Makefile). I'm not sure whether this is a good idea, it's probably best to just blast *.mod.

Note quickdbuild.sh cleans out *.mod

side note: submodules are *.smod

@hkershaw-brown
Copy link
Member Author

fixed in #468

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back burner very low priority. Future work?
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant