home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / io / asyncio / makefile next >
Makefile  |  1997-10-14  |  341b  |  16 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <ntwin32.mak>
  4.  
  5. !if "$(CPU)" == "i386"
  6. cflags = $(cflags) -D_CRTAPI1=_cdecl -D_CRTAPI2=_cdecl
  7. !endif
  8.  
  9. all: pdc.exe
  10.  
  11. pdc.obj: pdc.c pdc.h
  12.     $(cc) $(cflags) $(cvars) $(cdebug) pdc.c
  13.  
  14. pdc.exe: pdc.obj
  15.     $(link) $(linkdebug) $(conflags) -out:pdc.exe pdc.obj $(conlibs)
  16.