home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ocl150a.zip / OCL / Samples / Language / IBM / VA30.MAK < prev   
Makefile  |  1996-08-12  |  1KB  |  46 lines

  1. !include $(OCLSAMP)\COMMON.INC
  2. !include ..\LANGUAGE.INC
  3.  
  4. MAKEDEP = VA30.MAK
  5. CFLAGS  = $(S_ICC_COMPILE)
  6. LFLAGS  = $(S_ICC_LINK)
  7. CXFLAGS = $(ICC_COMPILE_DLL)
  8. LXFLAGS = $(ICC_LINK_DLL)
  9.  
  10. {..\Source}.cpp.obj:
  11.    icc $(CFLAGS) %s
  12.  
  13. {..\Source}.cc.obj:
  14.    icc $(CXFLAGS) %s
  15.  
  16.  
  17. language.exe: language.obj language.res {$(LIB)}OCLVA.LIB $(MAKEDEP)
  18.    icc @<<
  19. $(LFLAGS) /Fe language.exe language.obj OCLVA.LIB
  20. <<
  21.    rc $(RCPACK) language.res language.exe
  22.  
  23. reseng.dll: res.obj reseng.res $(MAKEDEP)
  24.    @echo LIBRARY RESENG INITINSTANCE TERMINSTANCE > res.def
  25.    @echo DESCRIPTION 'LANGUAGE Resource Library' >> res.def
  26.    @echo DATA MULTIPLE NONSHARED READWRITE LOADONCALL >> res.def
  27.    @echo CODE LOADONCALL >> res.def
  28.    icc @<<
  29. $(LXFLAGS) /Fe reseng.dll res.obj res.def
  30. <<
  31.    rc $(RCPACK) reseng.res reseng.dll
  32.    @if exist res.def erase res.def
  33.  
  34. resger.dll: res.obj resger.res $(MAKEDEP)
  35.    @echo LIBRARY RESGER INITINSTANCE TERMINSTANCE > res.def
  36.    @echo DESCRIPTION 'LANGUAGE Resource Library' >> res.def
  37.    @echo DATA MULTIPLE NONSHARED READWRITE LOADONCALL >> res.def
  38.    @echo CODE LOADONCALL >> res.def
  39.    icc @<<
  40. $(LXFLAGS) /Fe resger.dll res.obj res.def
  41. <<
  42.    rc $(RCPACK) resger.res resger.dll
  43.    @if exist res.def erase res.def
  44.  
  45. !include ..\LANGUAGE.DEP
  46.