Skip to content

src/example/Makefile cleanup#311

Merged
brittonsmith merged 2 commits into
grackle-project:mainfrom
mabruzzo:example-makefile-cleanup
May 7, 2025
Merged

src/example/Makefile cleanup#311
brittonsmith merged 2 commits into
grackle-project:mainfrom
mabruzzo:example-makefile-cleanup

Conversation

@mabruzzo

Copy link
Copy Markdown
Collaborator

I did 2 things:

  1. I deleted src/examples/Makefile.out-of-source. This was initially used as a workaround for testing CMake builds. But this became unnecessary in PR Tweaking code example tests #258 (I forgot to remove it then)
  2. I fixed a minor mistake I made from back when I shifted some logic from src/examples/Makefile into src/examples/Make.config.targets (while creating the CMake build-system,). Back when I did that, I accidentally defined the make clean command twice. Ever since then, we'd get the following warning (any time we use a make command within the src/examples directory:
    Makefile:103: warning: overriding commands for target `clean'
    Make.config.targets:170: warning: ignoring old commands for target `clean'
    In this PR I removed the duplicate definition (I removed the definition that was slightly less complete)

If you want, I could recombine src/examples/Makefile & src/examples/Make.config.targets, but it doesn't seem too pressing.

We will no longer get the following warnings whenever we build the
examples

```sh
Makefile:103: warning: overriding commands for target `clean'
Make.config.targets:170: warning: ignoring old commands for target `clean'
```
@mabruzzo mabruzzo added the minor label Apr 12, 2025
@mabruzzo mabruzzo added this to the 3.4 milestone May 7, 2025
@brittonsmith brittonsmith merged commit e3efdff into grackle-project:main May 7, 2025
@mabruzzo mabruzzo deleted the example-makefile-cleanup branch May 23, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants