home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample10 / va.mak < prev   
Makefile  |  1997-03-28  |  1KB  |  52 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:     16.03.1997
  6. #actions:
  7. #   Compile C/C++
  8. #   Link OBJ
  9. #   Link DEF
  10. #output: sample10.exe
  11. #files: sample10.cpp sample10.obj sample10.def 
  12.  
  13. #Object files/libraries to link
  14. OBJS=sample10.obj 
  15. LIBS=OOLW3I03.LIB OOL13I03.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. CFLAGS= /Ge+ /O- /Fb- /Gm+ /Gd+ /G5 /W3
  24. LINK=icc.exe $(CFLAGS) /B" /PM:PM"
  25. !else
  26. !ifdef beta
  27. CFLAGS= /Ge+ /O- /Fb- /Gm+ /Gd+ /G5 /W3
  28. LINK=icc.exe $(CFLAGS) /B""
  29. !else
  30. CFLAGS= /Ge+ /O- /Fb- /Gm+ /Gd+ /G5 /W3
  31. LINK=icc.exe $(CFLAGS) /B" /PACKD /PACKC /e:2 /PM:PM"
  32. !endif
  33. !endif
  34.  
  35. #All files to build
  36. all:  sample10.exe
  37.  
  38. #Rules to build the object-files
  39. .cpp.obj:
  40.     $(CC) $(CFLAGS) $(DFLAGS) %s 
  41. .c.obj:
  42.     $(CC) $(CFLAGS) $(DFLAGS) %s 
  43.  
  44. #Rules to build the application
  45. sample10.exe: $(OBJS) 
  46.     $(LINK) /Fe"sample10.exe" $(OBJS) $(LIBS) sample10.def
  47.  
  48. #Dependencies
  49. sample10.obj: sample10.cpp\
  50.     sample10.h
  51.  
  52.