title: Why isn't the command "cmake ." generating a makefile?
body: <p>I run <code>cmake .</code> in terminal and it says it generated something, then I run <code>make</code> and it says </p>
  
  <pre><code>make: *** No targets specified and no makefile found.  Stop.
  </code></pre>
  
  <p>I'm guessing I've missed something else that I need to do but I can't figure out what.  It should have created a make file that I can then build and then install.</p>
  
  <p>If I'm being too vague please let me know what more I can add to this question.</p>
  
  <p><strong>* edit *</strong></p>
  
  <pre><code>$ cmake .
  -- Configuring done
  CMake Warning (dev):
    Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run               "cmake
   --help-policy CMP0042" for policy details.  Use the cmake_policy command to
   set the policy and suppress this warning.
  
    MACOSX_RPATH is not specified for the following targets:
  
    freeglut
  
  This warning is for project developers.  Use -Wno-dev to suppress it.
  
   -- Generating done
   -- Build files have been written to:     /Users/nicholasl/Downloads/freeglut-3.0.0
  </code></pre>
  
  <p>**** contents of build directory ****</p>
  
  <pre><code>$ ls
  AUTHORS             android
  Build               android_toolchain.cmake
  CMakeCache.txt          blackberry.toolchain.cmake
  CMakeFiles          cmake_install.cmake
  CMakeLists.txt          config.h
  CMakeScripts            config.h.in
  COPYING             doc
  ChangeLog           freeglut.pc
  README              freeglut.pc.in
  README.android          freeglut.rc.in
  README.blackberry       freeglut.xcodeproj
  README.cmake            include
  README.cygwin_mingw     mingw_cross_toolchain.cmake
  README.mingw_cross      progs
  README.win32            src
  </code></pre>