home *** CD-ROM | disk | FTP | other *** search
Makefile | 2001-09-18 | 1.1 KB | 33 lines |
- !IFNDEF NETSAMPLEPATH
- !ERROR Env Variable NETSAMPLEPATH must be defined: Parent directory of QuickStart Samples
- !ENDIF
-
- #--------------------------------------------------
- _NAMESPACE=""
- !include $(NETSAMPLEPATH)\QuickStart\master.mak
-
- #--------------------------------------------------
- TARGETS = $(_OUTDIR)\MathService.dll
- SOURCES = MathService.asmx.cs MathServiceClient.aspx.cs "Web References\localhost\MathService.cs"
-
- CLEANUP = $(_OUTDIR)\MathService.dll \
- $(_OUTDIR)\MathService.pdb
-
- #--------------------------------------------------
- _IMPORTS=/r:System.dll /r:System.Web.Services.dll /r:System.XML.dll /r:System.Web.Dll
- _OUTDIR=.\bin
-
- #--------------------------------------------------
- all : $(TARGETS)
- rem Sample $(MAKEDIR)
-
- $(TARGETS) : $(SOURCES)
- if not exist $(_OUTDIR) md $(_OUTDIR)
- $(_CS) $(_CS_DLL_FLAGS) $(_IMPORTS) /out:$@ $** $(_WIN32RES) $(_KEYFILE)
-
- clean :
- for %i in ( $(CLEANUP) ) do if exist %i del %i
- if exist bin $(_RMDIR) bin
- if exist obj $(_RMDIR) obj
- #--------------------------------------------------
-