home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample13 / va.mak < prev    next >
Makefile  |  1997-04-01  |  959b  |  50 lines

  1. #Makefile generated by Object WorkFrame - MakeMake
  2. #(c)opyright Stefan von Brauk, 1996
  3. #target:   IBM NMake
  4. #compiler: IBM ICC
  5. #date:     01.04.1997
  6. #actions:
  7. #   Compile C/C++
  8. #   Link OBJ
  9. #   Link DEF
  10. #output: sample13
  11. #files: sample13.cpp sample13.obj sample13.def 
  12.  
  13. #Object files/libraries to link
  14. OBJS=sample13.obj 
  15. LIBS=OOLW3I03.LIB OOLM3I03.LIB OOLT3I03.LIB OOLC3I03.LIB OS2386.LIB
  16.  
  17. #Default compiler switches
  18. CC=icc.exe
  19. DFLAGS= /C /Q
  20.  
  21. #Rules how to build the application
  22. !ifdef debug
  23.  
  24. !else
  25. !ifdef beta
  26.  
  27. !else
  28. CFLAGS= /Ge+ /O- /Fb- /Gm+ /Gd+ /G5 /W3
  29. LINK=icc.exe $(CFLAGS) /B""
  30. !endif
  31. !endif
  32.  
  33. #All files to build
  34. all:  sample13
  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. sample13: $(OBJS) 
  44.     $(LINK) /Fe"sample13" $(OBJS) $(LIBS) sample13.def
  45.  
  46. #Dependencies
  47. sample13.obj: sample13.cpp\
  48.     sample13.h
  49.  
  50.