SubDir TOP Extras GPUphysics ;

if $(GLUT.AVAILABLE) = "yes"
{
  # All demo apps have a lot in common, so use this rule to simply things
  rule GPUDemo
  {
    Application $(<) : $(>) : noinstall console nomanifest ;
 #   LinkWith $(<) :  GLUT ;
    CFlags $(<) : 
	  [ FIncludes $(TOP)/Demos/OpenGL ] 
    ;
    MsvcIncDirs $(<) : 
	"../../Demos/OpenGL" 
	;
    
	ExternalLibs GPUphysics : GLUT GLEW ;
  }
}


GPUDemo GPUphysics : [ Wildcard *.h *.cpp  ] ;

