home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / sna / appc / makefile < prev    next >
Encoding:
Makefile  |  1995-12-22  |  754 b   |  28 lines

  1. USE_SNA=1
  2.  
  3. Proj = appc
  4.  
  5. linkflags = /nologo /NOD /INCREMENTAL:NO
  6.  
  7. !include <BkOffice.Mak>
  8.  
  9. All: $(ObjDir)\sendtp.exe $(ObjDir)\recvtp.exe
  10.  
  11. # this makefile is slightly weird since the same source file is compiled into
  12. # different objects and .exes.
  13.  
  14. $(ObjDir)\sendtp.Obj: sendrecv.c
  15.     $(MkDest)
  16.     $(cc) $(cflags) $(crtflags) $(cdebug) $(cDefines)  -DSENDTP -Fo$@ sendrecv.c
  17.  
  18. $(ObjDir)\sendtp.exe: $(@R).obj
  19.     Link $(linkflags) $(ldebug) $** $(liblist) $(linklibs) $(libcrt) -out:$@
  20.  
  21. $(ObjDir)\recvtp.Obj: sendrecv.c
  22.     $(MkDest)
  23.     $(cc) $(cflags) $(crtflags) $(cdebug) $(cDefines)  -DRECVTP -Fo$@ sendrecv.c
  24.  
  25. $(ObjDir)\recvtp.exe: $(@R).obj
  26.     Link $(linkflags) $(ldebug) $** $(liblist) $(linklibs) $(libcrt) -out:$@
  27.  
  28.