SubDir HAIKU_TOP src apps haiku3d ; SubDirSysHdrs $(HAIKU_GLU_HEADERS) ; SubDirSysHdrs $(HAIKU_MESA_HEADERS) ; SEARCH_SOURCE += [ FDirName $(SUBDIR) mesh ] ; SEARCH_SOURCE += [ FDirName $(SUBDIR) texture ] ; # For GCC2 if $(HAIKU_GCC_VERSION[1]) < 3 { SubDirC++Flags --no-warnings ; } UsePrivateHeaders shared ; local sources = App.cpp Camera.cpp MainWindow.cpp MathUtils.cpp Mesh.cpp MeshInstance.cpp RenderView.cpp Texture.cpp # mesh StaticMesh.cpp # texture BitmapTexture.cpp VideoFileTexture.cpp ; Includes [ FGristFiles $(sources) ] : $(HAIKU_MESA_HEADERS_DEPENDENCY) ; Application Haiku3d : $(sources) : be game GL media translation $(TARGET_LIBSTDC++) : Haiku3d.rdef ;