mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-23 00:36:42 -10:00
Samples compiled shared tree sources in place, so whichever sample ran next linked those objects with the flags they were built with, as unity_identity did with mic_handshake's ASan objects. Every sample that builds a source from outside its directory now includes sample_objdir.mk and maps those objects under its own obj/; its own objects stay where they were. The rule for the mapped objects has a slash in its target, so make 3.81 does not strip the directory. tools/sample_objdir_check.py dry-runs every sample Makefile and fails on an object written outside the sample; the Samples-Objdir-Check workflow runs it.