home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / virus / ddj0491.zip / MORROW.ZIP / MAKEFILE < prev    next >
Text File  |  1989-09-03  |  1KB  |  61 lines

  1. #
  2. #       GASystem
  3. #       Mike Morrow
  4. #       September 1989
  5. #
  6.  
  7. # This is the makefile for the word finding and the maze running GAs
  8. # The default (first) dependency will make both
  9.  
  10. # This make file assumes Microsoft C
  11.  
  12.  
  13.  
  14. OBJECTS = drive.obj table.obj param.obj gene.obj util.obj popl.obj exec.obj
  15. OBJWORD = objword.obj
  16. OBJMAZE = object.obj
  17.  
  18. CFLAGS = -c -Ox
  19. CC = cl $(CFLAGS)
  20.  
  21.  
  22. all: ga.exe gaword.exe
  23.  
  24. ga.exe : $(OBJECTS) $(OBJMAZE)
  25.     cl -o ga $(OBJECTS) $(OBJMAZE)
  26.  
  27. gaword.exe : $(OBJECTS) $(OBJWORD)
  28.     cl -o gaword $(OBJECTS) $(OBJWORD)
  29.  
  30.  
  31. drive.obj : drive.c ga.h table.h
  32.      $(CC)  drive.c
  33.     
  34.     
  35. table.obj : table.c table.h
  36.      $(CC)  table.c
  37.     
  38. param.obj : param.c table.h param.h
  39.      $(CC)  param.c
  40.  
  41. gene.obj : gene.c ga.h table.h param.h
  42.      $(CC)  gene.c
  43.     
  44.     
  45. util.obj : util.c
  46.     $(CC) util.c
  47.  
  48. popl.obj : popl.c ga.h gene.h
  49.     $(CC) popl.c
  50.     
  51. exec.obj : exec.c ga.h table.h util.h
  52.     $(CC) exec.c
  53.  
  54.  
  55.  
  56. objword.obj: objword.c ga.h
  57.     $(CC) objword.c
  58.  
  59. object.obj : object.c ga.h
  60.      $(CC)  object.c
  61.