home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample9 / emx.mak < prev    next >
Makefile  |  1997-04-03  |  442b  |  26 lines

  1. #makefile sample9 for EMX/GCC + GNU Make
  2.  
  3. LIBS=$(OOL)\lib\OOLW3E03.LIB
  4.  
  5. COMPILE=gcc -b -s -Zmt -Zcrtdll -Zomf -c -fhandle-exceptions
  6. LINK=gcc -Zmt -Zcrtdll -Zomf -Zlinker /PM:VIO -o
  7.  
  8. all: client.exe server.exe
  9.  
  10. %.obj: %.cpp
  11.     $(COMPILE) $<
  12.  
  13.  
  14. client.exe: client.obj
  15.     $(LINK) client.exe client.obj $(LIBS)
  16.  
  17. client.obj: client.cpp
  18.  
  19.  
  20.  
  21. server.exe: server.obj
  22.     $(LINK) server.exe server.obj $(LIBS)
  23.  
  24. server.obj: server.cpp
  25.  
  26.