home *** CD-ROM | disk | FTP | other *** search
/ Tutto per Internet / Internet.iso / soft95 / Varie / server / runner.mak < prev    next >
Encoding:
Makefile  |  1995-12-04  |  739 b   |  33 lines

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