home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample8 / va.mak < prev    next >
Makefile  |  1997-02-08  |  695b  |  35 lines

  1. #makefile sample8 for VisualAge C++
  2.  
  3. LIBS=OOLW3I03.lib OOLC3I03.LIB OS2386.LIB
  4.  
  5. COMPILE=icc.exe /Tdp /Q /Gm /C /O+ /Gn+ /Gd+
  6. LINK=icc.exe /Tdp /Q /Gm /B" /do /nologo /pmtype:pm /e:2 /packd /packc"
  7. all: client.exe server.exe
  8.  
  9. .cpp.obj:
  10.     $(COMPILE) %s
  11. .c.obj:
  12.     $(COMPILE) %s
  13.  
  14. client.exe: client.obj client.res 
  15.     $(LINK) /Fe"client.exe" client.obj $(LIBS) client.def
  16.     rc client.res client.exe
  17.  
  18. client.res: client.rc
  19.     rc -r client.rc
  20.  
  21. client.obj: client.cpp\
  22.     client.h
  23.  
  24. server.exe: server.obj server.res 
  25.     $(LINK) /Fe"server.exe" server.obj $(LIBS) server.def
  26.     rc server.res server.exe
  27.  
  28. server.res: server.rc
  29.     rc -r server.rc
  30.  
  31. server.obj: server.cpp\
  32.     server.h
  33.  
  34.  
  35.