home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample12 / watcom.mak < prev   
Makefile  |  1997-02-11  |  949b  |  50 lines

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