home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_07.cab / MAKEFILE15 < prev    next >
Text File  |  1997-10-25  |  670b  |  31 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !MESSAGE Building CgiWrap.Exe...
  4.  
  5.  
  6. Proj = CgiWrap
  7.  
  8. !include <win32.mak>
  9.  
  10. all: CgiWrap.Exe Install
  11.  
  12. $(Proj).Exe: $(Proj).Obj
  13.   $(link)  $(lflags) -base:0x1C000000 -out:$@ $** $(guilibsdll)
  14.  
  15. # Update the object file if necessary
  16.  
  17. $(Proj).obj: $(Proj).c
  18.     $(cc) $(cflags) $(cvarsdll) $(Proj).c
  19.  
  20. clean:
  21.   -@for %a in (*.exe *.ncb *.obj *.opt *.plg) do del %a
  22.  
  23. Install:
  24. !IF "$(WWWSCRIPTS)" != ""
  25. !IF "$(WWWROOT)" != ""
  26.         copy cgiwrap.exe $(WWWSCRIPTS)\SDK\ISrvMon.exe 
  27.         copy ..\ISAPIsmp.htm $(WWWROOT)\ISAPIsmp.Htm
  28.         copy cgiwrap.htm $(WWWROOT)\SDK\CgiWrap.Htm
  29. !ENDIF
  30. !ENDIF
  31.