home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv7.zip / VACPP / IBMCPP / smarts / DAX / DAXSOM / DAXBASIC.MAK < prev   
Text File  |  1995-06-02  |  1KB  |  64 lines

  1. # %FILE_NAME%.mak
  2. #
  3. # The actions included in this makefile are:
  4. #  Compile::SOM Compiler
  5. #  Compile::SQL Precompile
  6. #  Compile::C++ Compiler
  7. #  Link::Linker
  8.  
  9. .SUFFIXES: .CPP .IDL .SQC .c .obj
  10.  
  11. .all: \
  12.     %FILE_NAME%.exe
  13.  
  14. .IDL.xh:
  15.     @echo " Compile::SOM Compiler "
  16.     sc.exe -sxh %DAX_FILE%i.idl
  17.  
  18. .IDL.xih:
  19.     @echo " Compile::SOM Compiler "
  20.     sc.exe -sxih %DAX_FILE%i.idl
  21.  
  22. .SQC.c:
  23.     @echo " Compile::SQL Precompile "
  24.     sqlprep.exe %DAX_FILE%i.sqc %DATASTORE_NAME% /P
  25.  
  26. .CPP.obj:
  27.     @echo " Compile::C++ Compiler "
  28.     icc.exe /Fo"%|dpfF.OBJ" /C %s
  29.  
  30. .c.obj:
  31.     @echo " Compile::C++ Compiler "
  32.     icc.exe /Fo"%|dpfF.OBJ" /C %s
  33.  
  34. %FILE_NAME%.exe: \
  35.     %FILE_NAME%.obj \
  36.     %DAX_FILE%X.obj \
  37.     %DAX_FILE%I.obj
  38.     @echo " Link::Linker "
  39.     icc.exe @<<
  40.      /Fe%FILE_NAME%.exe
  41.      %FILE_NAME%.obj
  42.      %DAX_FILE%X.obj
  43.      %DAX_FILE%I.obj
  44.      somtk.lib  upm.lib
  45. <<
  46.  
  47. %DAX_FILE%I.xh %DAX_FILE%I.xih: \
  48.     %DAX_FILE%I.IDL
  49.  
  50. %DAX_FILE%I.c: \
  51.     %DAX_FILE%I.SQC
  52.  
  53. %FILE_NAME%.obj: \
  54.     %FILE_NAME%.CPP \
  55.     {$(INCLUDE);}sdsmcon.xh \
  56.     %DAX_FILE%i.xh
  57.  
  58. %DAX_FILE%I.obj: \
  59.     %DAX_FILE%I.c
  60.  
  61. %DAX_FILE%X.obj: \
  62.     %DAX_FILE%X.CPP \
  63.     %DAX_FILE%I.XIH
  64.