home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample12 / va.mak < prev    next >
Makefile  |  1997-03-28  |  1KB  |  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:     18.01.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=OOLW3I03.LIB OOLC3I03.LIB OS2386.LIB
  15.  
  16. #Default compiler switches
  17. CC=icc.exe
  18. DFLAGS= /C /Q
  19.  
  20. #Rules how to build the application
  21. !ifdef debug
  22. CFLAGS= /Ge+ /O+ /Fb- /Gm+ /Gd+ /Gn+ /G5 /W3
  23. LINK=icc.exe $(CFLAGS) /B" /PM:VIO"
  24. !else
  25. !ifdef beta
  26.  
  27. !else
  28. CFLAGS= /Ge+ /O+ /Fb- /Gm+ /Gd+ /Gn+ /G5 /W3
  29. LINK=icc.exe $(CFLAGS) /B""
  30. !endif
  31. !endif
  32.  
  33. #All files to build
  34. all:  sample12.exe
  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. sample12.exe: $(OBJS) 
  44.     $(LINK) /Fe"sample12.exe" $(OBJS) $(LIBS)
  45.  
  46. #Dependencies
  47. sample12.obj: sample12.cpp\
  48.     c:\source\ool\include\xheaders.h
  49.  
  50.