home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / rpc / pickle / picklt / makefile.dos next >
Encoding:
Makefile  |  1995-11-14  |  1.2 KB  |  47 lines

  1. #*************************************************************#
  2. #**                                                         **#
  3. #**                 Microsoft RPC Examples                  **#
  4. #**                    pickle Application                   **#
  5. #**            Copyright(c) Microsoft Corp. 1992-1995       **#
  6. #**                                                         **#
  7. #*************************************************************#
  8.  
  9. cc_ntenv = cl386
  10. cc = cl
  11. cflags= -c -AL -Gsw -Oas -Zpe -Zi -D_CRTAPI1=
  12. linker= link
  13. lflags= /CO /NOD
  14.  
  15. .c.obj:
  16.    $(cc) $(cflags) $<
  17.  
  18. all : pickltc
  19.  
  20. idl : picklt.h
  21.  
  22. # Make the client side application pickltc
  23. pickltc : pickltc.exe
  24. pickltc.exe : pickltc.obj picklt_c.obj
  25.     $(linker) $(lflags) pickltc picklt_c,,,\
  26.     llibce rpc;
  27.  
  28. # Update the object files if necessary
  29.  
  30. pickltc.obj : pickltc.c picklt.h
  31.  
  32. picklt_c.obj : picklt_c.c picklt.h
  33.  
  34. picklt.h picklt_c.c: picklt.idl picklt.acf
  35.    midl -env dos -oldnames -no_cpp -ms_ext picklt.idl
  36.  
  37. # Clean up everything
  38. cleanall : clean
  39.     -del pickltc.exe
  40.  
  41. # Clean up everything but the .EXEs
  42. clean :
  43.     -del *.obj
  44.     -del *.map
  45.     -del picklt_c.c
  46.     -del picklt.h
  47.