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