SubDir HAIKU_TOP src tests kits opengl direct_mode ; SetSubDirSupportedPlatformsBeOSCompatible ; if $(TARGET_PLATFORM) != haiku { # Needed for , not present in R5. # Unfortunately we also get the other headers there, # that we don't really want. UsePublicHeaders opengl ; } SimpleTest GLDirectMode : GLDirectMode.cpp : be game GL $(TARGET_LIBSUPC++) : GLDirectMode.rdef ;