title: Porting old make file to Windows
body: <p>I'm attempting to convert this make file to a Windows make file. I haven't done anything like this before, and need some help. I've done research but don't really understand the plethora of errors that I'm running into. Is there an easy way to port this? Is it possible? Could this be made cross platform for cmake? This is all new to me.</p>
  <pre><code>#FLAGS = -lm -L/usr/pub/lib -lefence -o
  #CC = cc -O2 -fullwarn -TENV:large_GOT
  #CC = cc -g -Wall
  CC = gcc -O2  # at least for SunOS
  #CC = cc -g
  
  #CC = cc -O2 -fullwarn
  
  #CC = cc -O2
  FLAGS = -lm  -o
  
  SOURCE = stride.c splitstr.c rdpdb.c initchn.c geometry.c thr2one.c one2thr.c filename.c tolostr.c strutil.c place_h.c hbenergy.c memory.c helix.c sheet.c rdmap.c phipsi.c command.c molscr.c die.c hydrbond.c mergepat.c fillasn.c escape.c p_jrnl.c p_rem.c p_atom.c p_helix.c p_sheet.c p_turn.c p_ssbond.c p_expdta.c p_model.c p_compnd.c report.c nsc.c area.c ssbond.c chk_res.c chk_atom.c turn.c pdbasn.c dssp.c outseq.c chkchain.c elem.c measure.c asngener.c p_endmdl.c stred.c contact_order.c contact_map.c
  
  OBJECT = ${SOURCE:.c=.o} 
  
  BINDIR = .
  
  .c.o: 
      $(CC) -c $&lt; -o $@
  
  
  stride : $(OBJECT)
      $(CC) $(OBJECT) $(FLAGS)  $(BINDIR)/stride${ARCH}
  
  $(OBJECT) : stride.h protot.h
  
  clean:
      rm -f $(OBJECT)
  
  show:
      echo $(SOURCE)
  </code></pre>