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 / serial / makefile next >
Makefile  |  1997-10-09  |  554b  |  23 lines

  1. # Windows-32 TTY Example
  2. # Copyright 1992 - 1997 Microsoft Corporation
  3.  
  4. !include <WIN32.MAK>
  5.  
  6. proj = TTY
  7.  
  8. all: $(proj).exe
  9.  
  10. # Update the resource if necessary
  11. $(proj).res: $(proj).rc resource.h
  12.     rc -r -fo $(proj).res $(cvars) $(proj).rc
  13.  
  14.  
  15. # Update the object file if necessary
  16. $(proj).obj: $(proj).c $(proj).h
  17.     $(cc) $(cdebug) $(cflags) $(cvars) $(proj).c
  18.  
  19.  
  20. # Update the EXE
  21. $(proj).exe: $(proj).obj $(proj).res $(proj).def
  22.     $(link) $(linkdebug) $(guiflags) $(proj).obj  $(guilibs) VERSION.LIB $(proj).res -out:$(proj).exe
  23.