Skip to content

Correcting Makefile for parallelization and new files#76

Merged
hahnjo merged 2 commits into
root-project:mainfrom
undefined-panda:parallelize-make
Jun 26, 2026
Merged

Correcting Makefile for parallelization and new files#76
hahnjo merged 2 commits into
root-project:mainfrom
undefined-panda:parallelize-make

Conversation

@undefined-panda

@undefined-panda undefined-panda commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

There was a problem, when adding new write.C files, that the make write target skipped that new file. By marking the targets for the paths as .PHONY, that problem was fixed. In addition, the double ':' could be switched with single ':'.

@undefined-panda undefined-panda changed the title Switching '::' to ':' and adjust PHONY targets Correcting Makefile for parallelization and new files Jun 26, 2026
@undefined-panda
undefined-panda force-pushed the parallelize-make branch 5 times, most recently from f7c87c2 to 2c97586 Compare June 26, 2026 14:34
The targets for the write.C and read.C paths were skipped when new files
were added because of the timestamp comparison with the write/ and
read/ directory. Marking these targets as .PHONY forces a rebuild
whenever the directory changes, ensuring new files are processed.
Additionally simplified the Makefile by replacing the double colon
separator '::' with a single colon ':'.
@hahnjo
hahnjo merged commit 4ccae1e into root-project:main Jun 26, 2026
1 check passed
@undefined-panda
undefined-panda deleted the parallelize-make branch June 29, 2026 12:41
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

Successfully merging this pull request may close these issues.

2 participants