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

  1.  
  2. TARGETS = LoanLib.tlb GAC
  3. CLEANUP = *.dll *.tlb *.pdb
  4. #--------------------------------------------------
  5. all : $(TARGETS)
  6.  
  7. clean :
  8.     @if exist LoanLib gacutil -u LoanLib.dll
  9.     @if exist LoanLib regasm /unregister LoanLib.dll
  10.     @if exist *.dll del *.dll
  11.     @if exist *.tlb del *.tlb
  12.     @if exist *.pdb del *.pdb
  13.  
  14. #--------------------------------------------------
  15.  
  16. !IFDEF DEBUG
  17. _CS_DBG_FLAGS=/debug+
  18. !ENDIF
  19. _CS_EXE_FLAGS=$(_CS_DBG_FLAGS)
  20.  
  21. #--------------------------------------------------
  22.  
  23. LoanLib.dll : LoanLib.cs
  24.     csc $(_CS_EXE_FLAGS) /t:library $*.cs
  25.  
  26. LoanLib.tlb : LoanLib.dll
  27.     regasm /tlb $*.dll
  28.  
  29. #install assembly in GAC
  30. GAC::
  31.     gacutil -i LoanLib.dll