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

  1. !IFNDEF NETSAMPLEPATH
  2. !ERROR Env Variable NETSAMPLEPATH must be defined: Parent directory of QuickStart Samples
  3. !ENDIF
  4.  
  5. #--------------------------------------------------
  6. _NAMESPACE=""
  7. !include $(NETSAMPLEPATH)\QuickStart\master.mak
  8.  
  9. #--------------------------------------------------
  10. TARGETS = $(_OUTDIR)\MathService.dll
  11. SOURCES = MathService.asmx.cs MathServiceClient.aspx.cs "Web References\localhost\MathService.cs"
  12.  
  13. CLEANUP = $(_OUTDIR)\MathService.dll \
  14.     $(_OUTDIR)\MathService.pdb
  15.  
  16. #--------------------------------------------------
  17. _IMPORTS=/r:System.dll /r:System.Web.Services.dll /r:System.XML.dll /r:System.Web.Dll
  18. _OUTDIR=.\bin
  19.  
  20. #--------------------------------------------------
  21. all : $(TARGETS)
  22.   rem Sample $(MAKEDIR)
  23.  
  24. $(TARGETS) : $(SOURCES)
  25.   if not exist $(_OUTDIR) md $(_OUTDIR)
  26.   $(_CS) $(_CS_DLL_FLAGS) $(_IMPORTS) /out:$@ $** $(_WIN32RES) $(_KEYFILE)
  27.  
  28. clean :
  29.   for %i in ( $(CLEANUP) ) do if exist %i del %i
  30.   if exist bin $(_RMDIR) bin
  31.   if exist obj $(_RMDIR) obj
  32. #--------------------------------------------------
  33.