home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / spy / dll / makefile < prev   
Makefile  |  1994-08-30  |  602b  |  28 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <ntwin32.mak>
  4.  
  5. all: hook.lib hook.dll
  6.  
  7. # Update the object files if necessary
  8.  
  9. hook.obj: hook.c
  10.     $(cc) $(scall) $(cflags) $(cvarsdll) $(cdebug) hook.c
  11.  
  12. # Update the import library
  13.  
  14. hook.lib: hook.obj hook.def
  15.     $(implib) -machine:$(CPU)     \
  16.     -def:hook.def           \
  17.     hook.obj                \
  18.     -out:hook.lib
  19.  
  20. # Update the dynamic link library
  21.  
  22. hook.dll: hook.obj hook.def
  23.     $(link) $(linkdebug) $(dlllflags)     \
  24.     -base:0x1C000000  \
  25.     -out:hook.dll   \
  26.     hook.exp hook.obj $(guilibsdll)
  27.  
  28.