home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample1 / va.mak < prev    next >
Makefile  |  1997-04-02  |  1KB  |  62 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:     28.02.1997
  6. #actions:
  7. #   Compile C/C++
  8. #   Compile RC
  9. #   Link OBJ
  10. #   Link DEF
  11. #   Link RES
  12. #output: sample1.exe
  13. #files: sample1.cpp sample1.rc sample1.obj sample1.RES sample1.DEF 
  14.  
  15. #Object files/libraries to link
  16. OBJS=sample1.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+ /G5 /Ti /W3
  26. LINK=icc.exe $(CFLAGS) /B" /De /e:2 /NOE"
  27. !else
  28. !ifdef beta
  29. CFLAGS= /Ge+ /O+ /Fb- /Gm+ /G5 /W3
  30. LINK=icc.exe $(CFLAGS) /B" /e:2"
  31. !else
  32. CFLAGS= /Ge+ /O+ /Fb- /Gm+ /Gd+ /G5 /W3
  33. LINK=icc.exe $(CFLAGS) /B""
  34. !endif
  35. !endif
  36.  
  37. #All files to build
  38. all:  sample1.exe
  39.  
  40. #Rules to build the object-files
  41. .cpp.obj:
  42.     $(CC) $(CFLAGS) $(DFLAGS) %s 
  43. .c.obj:
  44.     $(CC) $(CFLAGS) $(DFLAGS) %s 
  45.  
  46. #Rules to build the application
  47. sample1.exe: $(OBJS) sample1.res 
  48.     $(LINK) /Fe"sample1.exe" $(OBJS) $(LIBS) sample1.def
  49.     rc sample1.res sample1.exe
  50.  
  51. #Rules to build the resource-files
  52. sample1.res: sample1.rc\
  53.     resource.h\
  54.     sample1.dlg\
  55.     sample1.ico
  56.     rc -r sample1.rc
  57.  
  58. #Dependencies
  59. sample1.obj: sample1.cpp\
  60.     sample1.h
  61.  
  62.