title: How can I compile and run project from command line(Windows 7)?
body: <p>I have a project which has a makefile:</p>
  
  <pre><code># a simple makefile
  
  # Uncomment, if compression support is desired
  #DCOMP=-DWITH_COMPRESSION
  #ZLIB=-lz
  
  #Compiler
  CC=g++
  # compiler switches
  #CPPFLAGS=-g -I.
  CPPFLAGS=-O -I.
  CFLAGS=-O -I. $(DCOMP) 
  
  #LDFLAGS=-L/usr/local/lib
  #libraries
  LIBS= -lm $(ZLIB)
  
  # Compilation rules
  # target:source
  %.o:%.c
      $(CC) $(CFLAGS) -o $@ -c $&lt;
  %.o:%.cpp
      $(CC) $(CPPFLAGS) -o $@ -c $&lt;
  # $@-target, $&lt;-source
  
  DNAME=f3dProjBasicNoComp12
  PROGRAM=project
  
  PROJ_OBJECTS= project.o f3d.o f3dGridLite.o
  
  #the first (default)
  all:$(PROGRAM)
  
  project:$(PROJ_OBJECTS)
      $(CC) $(LDFLAGS) -o $@ $(PROJ_OBJECTS) $(LIBS)
  
  clean:
      rm -f $(PROGRAM) *.o  core* *.ppm
  
  pack:
      make clean
      (cd .. &amp;&amp; tar cvzf $(DNAME).tgz $(DNAME))
  </code></pre>
  
  <p>And I want to run it on Windows. The professor has said that I should compile it and run, but he did not tell me how can I do this on Windows. I have read that I should use nmake MakeFile, but than: </p>
  
  <pre><code>'nmake' is not recognized as an internal or external command,
  operable program or batch file.
  </code></pre>
  
  <p>To run the application, I should use somethink like <code>project -x somethink.obj</code>.
  But because I cannot compile the makefile I cannot run the project.</p>
  
  <p>Can you help me?</p>