home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample11 / Watcom.mak < prev   
Text File  |  1997-04-08  |  969b  |  50 lines

  1. #Makefile generated by Object WorkFrame - MakeMake
  2. #(c)opyright Stefan von Brauk, 1996
  3. #target:   IBM NMake
  4. #compiler: Watcom C++
  5. #date:     02.02.1997
  6. #actions:
  7. #   Compile C/C++
  8. #   Link OBJ
  9. #   Link DEF
  10. #output: Sample11.exe
  11. #files: sample11.cpp sample11.obj sample11.def 
  12.  
  13. #Object files/libraries to link
  14. OBJS=sample11.obj 
  15. LIBS=$(OOL)\lib\OOLW3W03.lib $(OOL)\lib\OOLJ3W03.lib
  16.  
  17. #Default compiler switches
  18. CC=wpp386
  19. DFLAGS=-bt=os2 -zq -fhq
  20.  
  21. #Rules how to build the application
  22. !ifdef debug
  23. CFLAGS= -oeinrtxl+ -bm -4r -d2 -w0
  24. LINK=watlink  -de -p:pm -map
  25. !else
  26. !ifdef beta
  27.  
  28. !else
  29.  
  30. !endif
  31. !endif
  32.  
  33. #All files to build
  34. all:  Sample11.exe
  35.  
  36. #Rules to build the object-files
  37. .cpp.obj:
  38.     $(CC) $(CFLAGS) $(DFLAGS) %s
  39. .c.obj:
  40.     $(CC) $(CFLAGS) $(DFLAGS) %s
  41.  
  42. #Rules to build the application
  43. Sample11.exe: $(OBJS) 
  44.     $(LINK) Sample11.exe $(OBJS) $(LIBS) sample11.def |wlink
  45.  
  46. #Dependencies
  47. sample11.obj: sample11.cpp\
  48.     sample11.h
  49.  
  50.