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

  1. #
  2. #  Windows Forms example makefile
  3. #
  4.  
  5. !IFDEF DEBUG
  6. _VB_DBG_FLAGS=/debug+
  7. !ENDIF
  8.  
  9. _VB_OPTION_FLAGS=/t:library
  10. _VB_DLL_FLAGS=/t:exe $(_VB_DBG_FLAGS) $(_VB_OPTION_FLAGS)
  11. _IMPORTS=/r:System.DLL /r:System.Windows.Forms.DLL /r:System.Drawing.dll
  12.  
  13. all: MyForm.dll
  14.  
  15. MyForm.dll: $*.vb
  16.     vbc $(_VB_DLL_FLAGS) $(_IMPORTS) /out:$@ $*.vb
  17.     regasm /tlb $@
  18.  
  19. run:
  20.     start Forms.exe
  21.  
  22. clean:
  23.     -@if exist MyForm.dll erase MyForm.dll
  24.     -@if exist MyForm.pdb erase MyForm.pdb
  25.  
  26.