home *** CD-ROM | disk | FTP | other *** search
/ Adventures in Heaven 2 / adventuresinheaven2powergamesfordosandwindows.iso / windows / arcade / cbzone / makefile.31 < prev    next >
Makefile  |  1992-05-27  |  2KB  |  51 lines

  1. # Standard Windows make file.  The utility MAKE.EXE compares the
  2. # creation date of the file to the left of the colon with the file(s)
  3. # to the right of the colon.  If the file(s) on the right are newer
  4. # then the file on the left, Make will execute all of the command lines
  5. # following this line that are indented by at least one tab or space.
  6. # Any valid MS-DOS command line may be used.
  7.  
  8. # This line allows NMAKE to work as well
  9.  
  10. all: cbzone.exe
  11.  
  12. # Update the resource if necessary
  13.  
  14. generic.res: generic.rc generic.h
  15.     rc -r generic.rc
  16.  
  17. # Update the object file if necessary
  18.  
  19. generic.obj: generic.c generic.h
  20.     cl -c -AS -Gsw -Oas -Zpe generic.c
  21.  
  22. c_move.obj:   c_move.c
  23.     cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32  c_move.c
  24.  
  25. c_parseo.obj: c_parseo.c
  26.     cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 c_parseo.c
  27.  
  28. c_main.obj:   c_main.c
  29.     cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 c_main.c
  30.  
  31. c_graphi.obj: c_graphi.c
  32.     cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 c_graphi.c
  33.  
  34. c_explod.obj: c_explod.c
  35.     cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 c_explod.c
  36.  
  37. c_draw.obj:   c_draw.c
  38.     cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 c_draw.c
  39.  
  40. unix2nt.obj:   unix2nt.c
  41.     cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 unix2nt.c
  42.  
  43. c_gpr.obj:    c_gpr.c
  44.     cl -c -AS -Gsw -Oas -Zpe -DWIN31 -DWIN32 c_gpr.c
  45.  
  46. # Update the executable file if necessary, and if so, add the resource back in.
  47.  
  48. cbzone.exe: generic.obj generic.def c_move.obj c_parseo.obj c_main.obj c_explod.obj c_draw.obj c_graphi.obj c_gpr.obj unix2nt.obj generic.res
  49.     link /NOD generic c_move c_parseo c_main c_explod c_draw c_graphi c_gpr unix2nt,cbzone.exe,, libw slibcew toolhelp, generic.def
  50.     rc /30 -K generic.res cbzone.exe
  51.