home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / QuickStart / util / ShowCode / makefile < prev    next >
Encoding:
Makefile  |  2000-05-23  |  866 b   |  30 lines

  1. !include ..\..\master.mak
  2.  
  3. #since we want the compiler to import from some dll's, let's specify the std WinForms ones here
  4. _CS_WEBFORMS_IMPORTS=/R:System.DLL /R:System.Web.dll 
  5.  
  6. _OUTDIR=..\..\Bin
  7. _WF_OUTDIR=..\..\WINFORMS\Bin
  8. _HT_OUTDIR=..\..\HowTo\Bin
  9. _AP_OUTDIR=..\..\AspPlus\Bin
  10.  
  11. #since we want the compiler to import from some dll's, let's specify it here
  12. _IMPORTS=$(_CS_WEBFORMS_IMPORTS)
  13.  
  14. #Define what we are building from what
  15. TARGET_NAME=Microsoft.Samples.Utils.CodeShow.dll
  16. SOURCE_NAMES=CodeSnippet.cs 
  17.  
  18. $(_OUTDIR)\$(TARGET_NAME) : $(TARGET_NAME)
  19.         copy $** $(_OUTDIR)
  20.         copy $** $(_AP_OUTDIR)
  21.         copy $** $(_WF_OUTDIR)
  22.         copy $** $(_HT_OUTDIR)
  23.  
  24. $(TARGET_NAME) : $(SOURCE_NAMES) 
  25.     $(_CS) $(_CS_DLL_FLAGS) $(_IMPORTS) /out:$@ $**
  26.         
  27. #issuing "nmake" will build target
  28. all: $(_OUTDIR)\$(TARGET_NAME) 
  29.  
  30.