Skip to content

Build Targets

Builds the mandatory executable.

  • Output: ./cub3D
  • Uses mandatory source set + bonus no-op compatibility layer

Builds the bonus executable.

  • Output: ./cub3D_bonus
  • Replaces no-op bonus stubs with real bonus modules

Removes object directories.

Runs clean and removes built binaries.

Full mandatory rebuild (fclean + make).

Full bonus rebuild (fclean + make bonus).

Runs mandatory smoke/validation test script.

Runs bonus test suite (including bonus symbol/runtime checks).

  • cub3D : mandatory executable
  • cub3D_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, or noop replacement path).
  • Runtime MLX checks still require a valid X11 graphical environment even if build succeeds.
  • This Makefile does not currently provide ci or sanitizer-specific targets.
  • This page stays intentionally brief; command-by-command workflow guidance belongs to Build Commands.