home *** CD-ROM | disk | FTP | other *** search
/ Tutto per Internet / Internet.iso / soft95 / Varie / server / webrun.mak < prev   
Encoding:
Makefile  |  1995-12-04  |  731 b   |  31 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !MESSAGE Building runcpl.cpl...
  4. !MESSAGE 
  5.  
  6. .SUFFIXES: .def .lib
  7.  
  8. !include <win32.mak>
  9.  
  10. all: webrun.cpl
  11.  
  12. # Update the resource if necessary
  13.  
  14. runcpl.res: runcpl.rc  resource.h
  15.     $(rc) $(rcflags) $(rcvars) runcpl.rc
  16.  
  17. # Update the object file if necessary
  18.  
  19. runcpl.obj: runcpl.c runcpl.h
  20.     $(cc) $(cflags) $(cvarsdll) runcpl.c
  21.  
  22. runcpl.exp:
  23.   $(implib) -machine:$(CPU) -nologo -Def:$(@B).Def -Out:$(@B).Lib $(@B).Obj
  24.  
  25. webrun.cpl: runcpl.obj runcpl.exp runcpl.res
  26.   $(link)  $(dlllflags) -base:0x1C000000 -out:webrun.cpl $** $(guilibsdll) $(int64lib) 
  27.  
  28. runcpl.exp: runcpl.def runcpl.obj
  29.  
  30. clean:
  31.   del webrun.cpl runcpl.Obj runcpl.exp runcpl.lib runcpl.res