home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / copyfile.mak < prev    next >
Makefile  |  1998-04-25  |  1KB  |  50 lines

  1. ###############################################################################
  2. #   copyfile.mak
  3. #
  4. #    Move the .ini and recopy the dlls if devcopy is set
  5. ###############################################################################
  6.  
  7.  
  8. !IF "$(ISPARSER)"=="YES"
  9. CopyPath=$(BH_ROOT)\BUILD\PARSERS
  10. !ELSEIF "$(ISDRIVER)"=="YES"
  11. CopyPath=$(BH_ROOT)\BUILD\DRIVERS
  12. !ELSE
  13. CopyPath=$(BH_ROOT)\BUILD
  14. !ENDIF
  15.  
  16. all:    CopyFiles
  17.  
  18. CopyFiles:
  19. !IF "$(COPYINI)"=="YES"
  20.     copy $(MODULE).ini $(CopyPath)\$(CPU)
  21. !ENDIF
  22. !IFDEF EXTRACOPY1
  23.     copy $(EXTRACOPY1) $(CopyPath)\$(CPU)
  24. !ENDIF
  25. !IFDEF EXTRACOPY2
  26.     copy $(EXTRACOPY2) $(CopyPath)\$(CPU)
  27. !ENDIF
  28. !IFDEF EXTRACOPY3
  29.     copy $(EXTRACOPY3) $(CopyPath)\$(CPU)
  30. !ENDIF
  31. !IFDEF EXTRACOPY4
  32.     copy $(EXTRACOPY4) $(CopyPath)\$(CPU)
  33. !ENDIF
  34. !IFDEF DEVCOPY
  35.     COPY $(CopyPath)\$(CPU)\$(MODULE).* $(CopyPath)
  36. !IFDEF EXTRACOPY1
  37.     copy $(EXTRACOPY1) $(CopyPath)
  38. !ENDIF
  39. !IFDEF EXTRACOPY2
  40.     copy $(EXTRACOPY2) $(CopyPath)
  41. !ENDIF
  42. !IFDEF EXTRACOPY3
  43.     copy $(EXTRACOPY3) $(CopyPath)
  44. !ENDIF
  45. !IFDEF EXTRACOPY4
  46.     copy $(EXTRACOPY4) $(CopyPath)
  47. !ENDIF
  48. !ENDIF
  49.  
  50.