Build Targets
Main Targets
Section titled “Main Targets”Builds the mandatory executable.
- Output:
./cub3D - Uses mandatory source set + bonus no-op compatibility layer
make bonus
Section titled “make bonus”Builds the bonus executable.
- Output:
./cub3D_bonus - Replaces no-op bonus stubs with real bonus modules
make clean
Section titled “make clean”Removes object directories.
make fclean
Section titled “make fclean”Runs clean and removes built binaries.
make re
Section titled “make re”Full mandatory rebuild (fclean + make).
make rebonus
Section titled “make rebonus”Full bonus rebuild (fclean + make bonus).
Validation / QA Targets
Section titled “Validation / QA Targets”make test
Section titled “make test”Runs mandatory smoke/validation test script.
make test_bonus
Section titled “make test_bonus”Runs bonus test suite (including bonus symbol/runtime checks).
Output Binaries
Section titled “Output Binaries”cub3D: mandatory executablecub3D_bonus: bonus executable
- Bonus build and mandatory build are intentionally separated by Makefile source lists.
- New source files must be added to the correct group (
mandatory,bonus, ornoopreplacement path). - Runtime MLX checks still require a valid X11 graphical environment even if build succeeds.
- This Makefile does not currently provide
cior sanitizer-specific targets. - This page stays intentionally brief; command-by-command workflow guidance belongs to
Build Commands.