home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2003 September / VPR0309.ISO / DOTNETSDK / dotNETSDK / setup.exe / netfxsd1.cab / makefile_680________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Makefile  |  2001-09-27  |  826 b   |  30 lines

  1. # Update the location of Microsoft Office for your machine
  2. #MSWORDTLB=%ProgramFiles%\Microsoft Office\Office\msword9.olb   #OFFICE 2000
  3. #MSWORDTLB=%ProgramFiles%\Microsoft Office\Office10\msword.OLB  #OFFICE XP
  4.  
  5. # Edit this to identify the installed location of msword9.olb / msword.olb
  6. !ifndef MSWORDTLB
  7. !error Set MSWORDTLB environment variable to point to the location of msword9.olb / msword.olb
  8. !endif
  9.  
  10.  
  11. !IFDEF DEBUG
  12. _CS_DBG_FLAGS=/debug+
  13. !ENDIF
  14. _CS_EXE_FLAGS=$(_CS_DBG_FLAGS)
  15.  
  16. all:    Word.dll wordapp.exe
  17.  
  18. clean:
  19.     -@if exist *.dll erase *.dll
  20.     -@if exist WordApp.exe erase WordApp.exe
  21.     -@if exist buildd.log erase buildd.log
  22.      
  23.  
  24. Word.dll :
  25.     tlbimp "$(MSWORDTLB)" /silent /out:Word.dll
  26.  
  27.  
  28. WordApp.exe : wordapp.cs Word.dll
  29.     csc.exe $(_CS_EXE_FLAGS) /out:$@ wordapp.cs /r:Word.DLL /r:System.dll;
  30.