home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample6 / va.mak < prev    next >
Makefile  |  1997-03-28  |  1KB  |  59 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:     24.01.1997
  6. #actions:
  7. #   Compile C/C++
  8. #   Compile RC
  9. #   Link OBJ
  10. #   Link DEF
  11. #   Link RES
  12. #output: sample6.exe
  13. #files: sample6.cpp sample6.rc sample6.obj sample6.RES sample6.DEF 
  14.  
  15. #Object files/libraries to link
  16. OBJS=sample6.obj 
  17. LIBS=OOLW3I03.LIB OOLC3I03.LIB OS2386.LIB
  18.  
  19. #Default compiler switches
  20. CC=icc.exe
  21. DFLAGS= /C /Q
  22.  
  23. #Rules how to build the application
  24. !ifdef debug
  25. CFLAGS= /Ge+ /O- /Fb- /Gm+ /Gd+ /Gn+ /G5 /W3
  26. LINK=icc.exe $(CFLAGS) /B""
  27. !else
  28. !ifdef beta
  29.  
  30. !else
  31. CFLAGS= /Ge+ /O+ /Fb- /Gm+ /Gd+ /G5 /W3
  32. LINK=icc.exe $(CFLAGS) /B""
  33. !endif
  34. !endif
  35.  
  36. #All files to build
  37. all:  sample6.exe
  38.  
  39. #Rules to build the object-files
  40. .cpp.obj:
  41.     $(CC) $(CFLAGS) $(DFLAGS) %s
  42. .c.obj:
  43.     $(CC) $(CFLAGS) $(DFLAGS) %s
  44.  
  45. #Rules to build the application
  46. sample6.exe: $(OBJS) sample6.res 
  47.     $(LINK) /Fe"sample6.exe" $(OBJS) $(LIBS) sample6.def
  48.     rc sample6.res sample6.exe
  49.  
  50. #Rules to build the resource-files
  51. sample6.res: sample6.rc\
  52.     resource.h
  53.     rc -r sample6.rc
  54.  
  55. #Dependencies
  56. sample6.obj: sample6.cpp\
  57.     sample6.h
  58.  
  59.