home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 26 / CD_ASCQ_26_1295.iso / vrac / laipe.zip / MAKEFILE < prev    next >
Text File  |  1995-08-07  |  4KB  |  81 lines

  1. ###########################################################################
  2. #                                                                         #
  3. #  Modify this block to the complier(s) you use.                          #
  4. #                                                                         #
  5. ###########################################################################
  6.  
  7. fortran_complier    = fl32          # i.e. Microsoft 32-bit fortran
  8. c_complier          = cl            # i.e. Microsoft C
  9. fortran_directory   = d:\fpsnt      # i.e. directory of fortran compiler
  10. c_directory         = d:\msvcnt     # i.e. directory of C++ compiler
  11. multithreads_option = /MT           # i.e. multiple threads
  12. processor_type      = /G5           # i.e. 586 processor
  13. optimize            = /Ox           # i.e. optimize
  14. SDK_lib             = advapi32.lib  # SDK libraries (required in Mtask)
  15.  
  16.  
  17. ###########################################################################
  18. #                                                                         #
  19. #  Mtask library                                                          # 
  20. #                                                                         #
  21. ###########################################################################
  22.  
  23. mtask_for_fortran = mtaskf5a.lib       # fortran library for 586 & ASCII std
  24. mtask_for_c       = mtaskc5a.lib       # c library for 586 & ASCII standard
  25.  
  26.  
  27. ###########################################################################
  28. #                                                                         #
  29. #  Laipe library                                                          #
  30. #                                                                         #
  31. ###########################################################################
  32.  
  33. laipe_for_fortran   = laipef.lib
  34.                               # LAIPE library for FORTRAN calling convention
  35. laipe_for_c         = laipec.lib
  36.                               # LAIPE library for C calling convention
  37.  
  38.  
  39. ###########################################################################
  40. #                                                                         #
  41. #  Targets                                                                #
  42. #                                                                         #
  43. ###########################################################################
  44.  
  45. fortran : fbanded.exe fmentry.exe
  46. c       : cbanded.exe cmentry.exe
  47. all     : fortran c
  48.  
  49.  
  50. ###########################################################################
  51. #                                                                         #
  52. #  user_defined macros                                                    #
  53. #                                                                         #
  54. ###########################################################################
  55.  
  56. option           = $(multithreads_option) $(processor_type) $(optimize)
  57. fortran_library  = $(mtask_for_fortran) \
  58.                    $(laipe_for_fortran) \
  59.                    $(fortran_directory)\lib\$(SDK_lib)
  60. c_library        = $(mtask_for_c) \
  61.                    $(laipe_for_c) \
  62.                    $(c_directory)\lib\$(SDK_lib)
  63.  
  64.  
  65. ###########################################################################
  66. #                                                                         #
  67. #  Inference Rules                                                        #
  68. #                                                                         #
  69. ###########################################################################
  70.  
  71. .for.exe:
  72.         $(fortran_complier) \
  73.         $(option) \
  74.         $(fortran_library) \
  75.         $<
  76. .c.exe:
  77.         $(c_complier) \
  78.         $(option) \
  79.         $(c_library) \
  80.         $<
  81.