Skip to content

Chapter 11 - Makefile: remove redundant .o rule and -lSystem, add clean target#69

Open
iy88 wants to merge 1 commit intobelow:mainfrom
iy88:fix-makefile
Open

Chapter 11 - Makefile: remove redundant .o rule and -lSystem, add clean target#69
iy88 wants to merge 1 commit intobelow:mainfrom
iy88:fix-makefile

Conversation

@iy88
Copy link

@iy88 iy88 commented Mar 2, 2026

In this change, I have updated the Makefile by removing the unused .o target rule since there is no need to build or reuse object files.

And I have also removed the -lSystem linker flag because Clang automatically links the System library on arm64 macOS, which prevents unnecessary warnings during linking.

946edf613c79b067d7835c84f5f95cbd

Additionally, I have added a clean target to remove all generated executable files.

And thank you for creating this convenient and helpful repository for learning :)

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.

1 participant