home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / debug / wdbgexts / makefile next >
Encoding:
Makefile  |  1994-08-31  |  634 b   |  29 lines

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