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

  1. # Set an environment variable OfficeDir to identify the location of Office
  2. #
  3.  
  4. !IFNDEF LIB
  5. !error LIB path variable undefined
  6. !ENDIF
  7.  
  8. !IFDEF DEBUG
  9. _C_DBG_FLAGS=/Zi
  10. _L_DBG_FLAGS=/debug
  11. !ENDIF
  12. _CFLAGS=/c /CLR /AI.. $(_C_DBG_FLAGS)
  13. _LFLAGS=$(_L_DBG_FLAGS) /nod:libcpmt.lib
  14. _LIBS=kernel32.lib mscoree.lib
  15. _XLDIR=..
  16.  
  17. all: $(_XLDIR)\Excel.DLL AutoExcel.exe 
  18.  
  19. !include ..\Excel.mak
  20.  
  21. AutoExcel.exe:
  22.     cl $(_CFLAGS) $*.cpp
  23.     link $(_LFLAGS) $(_LIBS) /out:$@ $*.obj
  24.  
  25.  
  26. clean: RemoveDLL
  27.     -@if exist AutoExcel.exe erase AutoExcel.exe
  28.     -@if exist AutoExcel.obj erase AutoExcel.obj
  29.     -@if exist AutoExcel.ilk erase AutoExcel.ilk
  30.     -@if exist *.pdb erase *.pdb
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.