home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2003 September / VPR0309.ISO / DOTNETSDK / dotNETSDK / setup.exe / netfxsd1.cab / makefile_102________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Makefile  |  2001-09-18  |  1.1 KB  |  32 lines

  1. !IFNDEF NETSAMPLEPATH
  2. !ERROR Env Variable NETSAMPLEPATH must be defined: Parent directory of QuickStart Samples
  3. !ENDIF
  4.  
  5. !include $(NETSAMPLEPATH)\QuickStart\master.mak
  6.  
  7.  
  8. #--------------------------------------------------
  9. TARGET  = $(_OUTDIR)\Pagelets.dll
  10. CLEANUP = $(_OUTDIR)\Pagelets.dll \
  11.     $(_OUTDIR)\Pagelets.pdb
  12. SOURCES=pagelet1.aspx.cs pagelet1.ascx.cs pagelet2.aspx.cs pagelet2.ascx.cs pagelet3.aspx.cs pagelet3.ascx.cs pagelet4.aspx.cs pagelet4.ascx.cs pagelet5.aspx.cs pagelet5.ascx.cs pagelet6.aspx.cs pagelet6.ascx.cs pagelet7.aspx.cs pagelet7.ascx.cs
  13.  
  14. #--------------------------------------------------
  15. _IMPORTS=/r:System.Data.dll /r:System.dll /r:System.Web.dll /r:System.Drawing.dll /r:System.Xml.dll
  16. _OUTDIR=.\bin
  17.  
  18. #--------------------------------------------------
  19. all : $(TARGET)
  20.     rem Sample $(MAKEDIR)
  21.  
  22. $(TARGET) : $(SOURCES)
  23.     if not exist $(_OUTDIR) md $(_OUTDIR)
  24.     $(_CS) $(_CS_DLL_FLAGS) $(_IMPORTS) /out:$@ $** $(_WIN32RES) $(_KEYFILE)
  25.  
  26. clean :
  27.     for %i in ( $(CLEANUP) ) do if exist %i del %i
  28.     if exist obj $(_RMDIR) obj
  29.     if exist bin $(_RMDIR) bin
  30. #--------------------------------------------------
  31.  
  32.