home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample11 / va.mak < prev    next >
Makefile  |  1997-02-08  |  1KB  |  51 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:     03.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\OOLW3I03.LIB $(OOL)\LIB\OOLJ3I03.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. CFLAGS= /Ge+ /O+ /Fb- /Gm+ /Gd+ /Gn+ /G5 /W3
  27. LINK=icc.exe $(CFLAGS) /B""
  28. !else
  29. CFLAGS= /Ge+ /O+ /Fb- /Gm+ /Gd+ /G5 /Gn+ /W3
  30. LINK=icc.exe $(CFLAGS) /B""
  31. !endif
  32. !endif
  33.  
  34. #All files to build
  35. all:  sample11.exe
  36.  
  37. #Rules to build the object-files
  38. .cpp.obj:
  39.     $(CC) $(CFLAGS) $(DFLAGS) %s
  40. .c.obj:
  41.     $(CC) $(CFLAGS) $(DFLAGS) %s
  42.  
  43. #Rules to build the application
  44. sample11.exe: $(OBJS) 
  45.     $(LINK) /Fe"sample11.exe" $(OBJS) $(LIBS) sample11.def
  46.  
  47. #Dependencies
  48. sample11.obj: sample11.cpp\
  49.     sample11.h
  50.  
  51.