home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winui / shell / dropext / makefile < prev    next >
Encoding:
Makefile  |  1995-05-04  |  890 b   |  38 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. TARGETOS=WIN95
  4. APPVER=4.0
  5.  
  6. !include <win32.mak>
  7.  
  8. all: dropext.dll
  9.  
  10. # Update the object files if necessary
  11.  
  12. defclsf.obj: defclsf.c
  13.     $(cc) $(cflags) $(cvarsdll) $(cdebug) defclsf.c
  14.  
  15. dropext.obj: dropext.c
  16.     $(cc) $(cflags) $(cvarsdll) $(cdebug) dropext.c
  17.  
  18. # Update the resources if necessary
  19.  
  20. dropext.res: dropext.rc dropext.h
  21.     $(rc) $(rcvars) -r dropext.rc
  22.  
  23. # Update the import library
  24.  
  25. dropext.lib: dropext.obj dropext.def
  26.     $(implib) -machine:$(CPU)     \
  27.     -def:dropext.def        \
  28.     dropext.obj             \
  29.     -out:dropext.lib
  30.  
  31. # Update the dynamic link library
  32.  
  33. dropext.dll: dropext.lib dropext.obj defclsf.obj dropext.def
  34.     $(link) $(linkdebug) $(dlllflags)     \
  35.     -base:0x1C000000  \
  36.     -out:dropext.dll   \
  37.     dropext.exp dropext.obj defclsf.obj $(guilibsdll) shell32.lib uuid.lib
  38.