home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool.zip / OOL / samples / sample5 / va.mak < prev    next >
Makefile  |  1997-02-08  |  1KB  |  55 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:     21.12.1996
  6. #actions:
  7. #   Compile C/C++
  8. #   Link OBJ
  9. #   Link DEF
  10. #output: sample5.exe
  11. #files: sample5.cpp sample5.obj sample5.DEF sample5.rc
  12.  
  13. #Object files/libraries to link
  14. OBJS=sample5.obj 
  15. LIBS=OOLW3I03.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. CFLAGS= /Ge+ /O+ /Fb- /Gm+ /Gd+ /Gn+ /G5 /W3
  23. LINK=icc.exe $(CFLAGS) /B""
  24.  
  25. #All files to build
  26. all: sample5.exe sample5.dll
  27.  
  28.  
  29. #Rules to build the object-files
  30. .cpp.obj:
  31.     $(CC) $(CFLAGS) $(DFLAGS) %s
  32.  
  33. .c.obj:
  34.     $(CC) $(CFLAGS) $(DFLAGS) %s
  35.  
  36. #Rules to build the application
  37. sample5.exe: $(OBJS)
  38.     $(LINK) /Fe"sample5.exe" $(OBJS) $(LIBS) sample5.def
  39.  
  40. #Rules to build the DLL
  41. sample5.dll: sample5.res empty.obj
  42.     $(LINK) /Fe"sample5.dll" empty.obj dll.def
  43.     rc sample5.res sample5.dll
  44.  
  45. #Rules to build the resource-files
  46. sample5.res: sample5.rc
  47.     rc -r sample5.rc
  48.  
  49.  
  50. #Dependencies of the related files
  51. sample5.obj: sample5.cpp\
  52.     sample5.h
  53.  
  54. empty.obj: empty.c
  55.