home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / Common.inc next >
Text File  |  1997-02-15  |  704b  |  34 lines

  1. #
  2. # Common definitions for the OOL samples - Watcom C/C++
  3. #
  4.  
  5. #
  6. # compiler and linker settings
  7. #
  8. CC      = wpp386
  9. LD      = wlink
  10.  
  11. CCDBGFLGS       = -bm -bt=os2 -d2 -4r -otexan -xs -zq
  12. CCNODBGFLGS     = -bm -bt=os2 -4r -otexan -xs -zq
  13. CCFLAGS         = $(CCDBGFLGS)
  14.  
  15. LDDBGFLGS       = debug all format os2 flat pm option symfile option protmode, stack=36000, quiet libr OOLW3W03
  16. LDNODBGFLGS     = format os2 flat pm option protmode, stack=36000, quiet libr OOLW3W03
  17. LDFLAGS         = $(LDDBGFLGS)
  18.  
  19.  
  20. #
  21. # how to make .obj and .res files
  22. #
  23. .cpp.obj:
  24.         @echo Compiling $*.cpp
  25.         @$(CC) $(CCFLAGS) $*
  26.  
  27. .rc.res:
  28.         @echo Compiling $*.rc
  29.         @rc -n -r $*
  30.  
  31.  
  32.  
  33.  
  34.