VPATH = \ CSharp/OperationScenarios/Common/ \ Rop/ \ Geo/ \ Warnings/ \ TorqueDrag \ Equipments \ CSharp/Problems/ \ Equipments/Pumps/ \ CSharp/BasicInputs/ \ Equipments/ChokeControl/ \ CSharp/StudentStation/ \ Equipments/RotaryTable \ Equipments/Drawworks/ \ Equipments/TopDrive/ \ CSharp/BasicInputs/WellProfile/ \ CSharp/OperationScenarios/Unity/ \ CSharp/OperationScenarios/SoftwareOutputs \ CSharp/OperationScenarios/SoftwareInputs/ \ CSharp/OperationScenarios/Permissions \ CSharp/OperationScenarios/Enums/ \ CSharp/OperationScenarios/UnitySignals \ CSharp/OperationScenarios/Notifications/ \ CSharp/BasicInputs/RigSpecifications/ \ Equipments/MudSystem/ \ CSharp/BasicInputs/Geology/ \ CSharp/Equipments/Tanks/ \ CSharp/Equipments/DrillWatch/ \ CSharp/Equipments/ControlPanels/ \ CSharp/Common/EventHandlers/ \ CSharp/ErrorLog/ \ CSharp/Equipments/MudPathFinding/ \ CSharp/BasicInputs/Bha/ \ CSharp/DownHole/ \ TorqueDrag/TD_Modules/ \ FluidFlow/kick \ FluidFlow \ Common \ CSharp \ CSharp/Common \ CSharp/Common/EventHandlers \ Equipments/BopStack \ CSharp/Warnings \ CSharp/OperationScenarios \ Simulation \ TorqueDrag/ \ TorqueDrag/TD_ReadDataSubroutines \ TorqueDrag/TD_Forces/TD_DropArea \ TorqueDrag/TD_DrillingSubs \ TorqueDrag/TD_Forces \ TorqueDrag/TD_DrillingSubs \ TorqueDrag/TD_Forces/TD_StraightArea \ TorqueDrag/TD_Forces/TD_BuildArea \ TorqueDrag/TD_Forces/TD_ViscousDragForce \ TorqueDrag/TD_Modules \ TorqueDrag/TD_StartUp \ Redis \ . FC = ifort TOP_DIR = . MOD_DIR = $(TOP_DIR)/mod OBJ_DIR = $(TOP_DIR)/obj # MOD_DIR = mod # OBJ_DIR = obj # FCFLAGS = -g -J$(MOD_DIR) -fimplicit-none -Wall -cpp -ffree-line-length-256 # FCFLAGS = /module:$(MOD_DIR) /fpp FCFLAGS = -module $(MOD_DIR) -fpp -debug all -g -traceback -D IFORT TARGET = SimulationCore2 SRCS_F =\ CSharp/OperationScenarios/Common/COperationScenariosVariables.f90 \ TorqueDrag/TD_Modules/TD_WellGeometry.f90 \ TorqueDrag/TD_Modules/TD_WellElements.f90 \ TorqueDrag/TD_Modules/TD_StringConnectionData.f90 \ TorqueDrag/TD_Modules/GeoElements_FluidModule.f90 \ Rop/sROP_Variables.f90 \ Rop/sROP_Other_Variables.f90 \ FluidFlow/Flow_Startup_VARIABLES.f90 \ CSharp/DownHole/CDownHoleTypes.f90 \ Equipments/Drawworks/Drawworks_VARIABLES.f90 \ Equipments/ChokeControl/CHOKE_VARIABLES.f90 \ Equipments/TopDrive/TopDrive_VARIABLES.f90 \ Equipments/RotaryTable/RTable_VARIABLES.f90 \ Equipments/Pumps/Pumps_VARIABLES.f90 \ CSharp/Warnings/CWarningsVariables.f90 \ CSharp/StudentStation/CStudentStationVariables.f90 \ CSharp/OperationScenarios/SoftwareInputsVariables.f90 \ CSharp/OperationScenarios/UnitySignals/UnitySignalsVariables.f90 \ CSharp/OperationScenarios/Permissions/PermissionsVariables.f90 \ CSharp/OperationScenarios/Notifications/NotificationVariables.f90 \ CSharp/Equipments/Tanks/CTanksVariables.f90 \ CSharp/Equipments/DrillWatch/CDrillWatchVariables.f90 \ CSharp/Equipments/ControlPanels/CTopDrivePanelVariables.f90 \ CSharp/Equipments/ControlPanels/CStandPipeManifoldVariables.f90 \ CSharp/Equipments/ControlPanels/CHookVariables.f90 \ CSharp/Equipments/ControlPanels/CDrillingConsoleVariables.f90 \ CSharp/Equipments/ControlPanels/CChokeManifoldVariables.f90 \ CSharp/Equipments/ControlPanels/CChokeControlPanelVariables.f90 \ CSharp/Equipments/ControlPanels/CBopControlPanelVariables.f90 \ CSharp/BasicInputs/WellProfile/CWellSurveyDataVariables.f90 \ CSharp/BasicInputs/WellProfile/CPathGenerationVariables.f90 \ CSharp/BasicInputs/WellProfile/CCasingLinerChokeVariables.f90 \ CSharp/BasicInputs/RigSpecifications/CRigSizeVariables.f90 \ CSharp/Common/CIActionReference.f90 \ CSharp/BasicInputs/RigSpecifications/CPowerVariables.f90 \ CSharp/BasicInputs/RigSpecifications/CHoistingVariables.f90 \ CSharp/BasicInputs/RigSpecifications/CBopStackVariables.f90 \ CSharp/BasicInputs/RigSpecifications/CAccumulatorVariables.f90 \ CSharp/BasicInputs/Geology/CShoeVariables.f90 \ CSharp/BasicInputs/Geology/CReservoirVariables.f90 \ CSharp/BasicInputs/Geology/CFormationVariables.f90 \ CSharp/BasicInputs/Bha/CStringConfigurationVariables.f90 \ Simulation/Constants.f90 \ CSharp/Equipments/MudPathFinding/CArrangement.f90 \ CSharp/OperationScenarios/Unity/CUnityInputs.f90 \ CSharp/Common/CCommonVariables.f90 \ Common/DynamicIntegerArray.f90 \ Rop/RopMain.f90 \ CSharp/Equipments/ControlPanels/CEquipmentsConstants.f90 \ Common/DynamicRealArray.f90 \ Common/DynamicDoubleArray.f90 \ CSharp/Equipments/MudPathFinding/CPathChangeEvents.f90 \ Common/DynamicLogicalArray.f90 \ CSharp/Common/CScaleRange.f90 \ FluidFlow/FluidFlowMain.f90 \ TorqueDrag/TD_Modules/TD_GeneralData.f90 \ CSharp/BasicInputs/WellProfile/CWellSurveyData.f90 \ CSharp/Equipments/ControlPanels/CDataDisplayConsoleVariables.f90 \ CSharp/ErrorLog/CLog4.f90 \ CSharp/BasicInputs/RigSpecifications/CPumpsVariables.f90 \ CSharp/ErrorLog/CLog1.f90 \ CSharp/BasicInputs/CMudPropertiesVariables.f90 \ CSharp/ErrorLog/CLog5.f90 \ CSharp/ErrorLog/CError.f90 \ CSharp/ErrorLog/CLog2.f90 \ CSharp/ErrorLog/CLog3.f90 \ Simulation/CSounds.f90 \ CSharp/Common/CCommon.f90 \ FluidFlow/Pressure_Display_VARIABLES.f90 \ Equipments/BopStack/VARIABLES.f90 \ FluidFlow/kick/Kick_VARIABLES.f90 \ CSharp/OperationScenarios/Unity/CUnityOutputs.f90 \ CSharp/DownHole/CDownHoleVariables.f90 \ Geo/GeoMain.f90 \ CSharp/Equipments/MudPathFinding/CPath.f90 \ CSharp/Problems/CProblemDifinition.f90 \ FluidFlow/Pressure_Distribution_VARIABLES.f90 \ Equipments/MudSystem/MudSystem_Variables.f90 \ TorqueDrag/TD_Modules/TD_DrillStem.f90 \ CSharp/Equipments/MudPathFinding/CStack.f90 \ CSharp/Problems/CDrillStemProblemsVariables.f90 \ CSharp/Problems/COtherProblemsVariables.f90 \ CSharp/Problems/CLostProblemsVariables.f90 \ CSharp/Problems/CGaugesProblemsVariables.f90 \ CSharp/Problems/CBitProblemsVariables.f90 \ CSharp/Problems/CKickProblemsVariables.f90 \ CSharp/Problems/CHoistingProblemsVariables.f90 \ CSharp/Problems/CChokeProblemsVariables.f90 \ CSharp/Problems/CPumpProblemsVariables.f90 \ CSharp/Problems/CRotaryProblemsVariables.f90 \ CSharp/Problems/CMudTreatmentProblemsVariables.f90 \ CSharp/Problems/CBopProblemsVariables.f90 \ Simulation/SimulationVariables.f90 \ \ CSharp/Equipments/ControlPanels/CChokeControlPanel.f90 \ CSharp/Equipments/ControlPanels/CDrillingConsole.f90 \ CSharp/Equipments/ControlPanels/CStandPipeManifold.f90 \ CSharp/Equipments/ControlPanels/CTopDrivePanel.f90 \ CSharp/Equipments/DrillWatch/DrillWatch.f90 \ \ CSharp/Problems/CMudTreatmentProblems.f90 \ CSharp/Problems/CChokeProblems.f90 \ CSharp/Equipments/ControlPanels/CHook.f90 \ CSharp/BasicInputs/RigSpecifications/CRigSize.f90 \ Equipments/BopStack/PipeRams1Main.f90 \ CSharp/Problems/COtherProblems.f90 \ CSharp/BasicInputs/RigSpecifications/CAccumulator.f90 \ CSharp/Problems/CRotaryProblems.f90 \ CSharp/Problems/CDrillStemProblems.f90 \ CSharp/BasicInputs/MudProperties.f90 \ CSharp/BasicInputs/RigSpecifications/CPower.f90 \ Equipments/RotaryTable/RotaryTableMain.f90 \ CSharp/Equipments/MudPathFinding/CManifolds.f90 \ CSharp/Problems/CBopProblems.f90 \ CSharp/DownHole/DownHole.f90 \ CSharp/Problems/CHoistingProblems.f90 \ CSharp/BasicInputs/RigSpecifications/CHoisting.f90 \ Equipments/Drawworks/DrawworksMain.f90 \ CSharp/Problems/CLostProblems.f90 \ CSharp/Problems/CBitProblems.f90 \ CSharp/BasicInputs/RigSpecifications/CBopStack.f90 \ Equipments/BopStack/ChokeLineMain.f90 \ Equipments/Pumps/PumpsMain.f90 \ Equipments/BopStack/AnnularMain.f90 \ CSharp/BasicInputs/WellProfile/CPathGeneration.f90 \ CSharp/BasicInputs/Geology/CReservoir.f90 \ CSharp/BasicInputs/Bha/CStringConfiguration.f90 \ Equipments/BopStack/PipeRams2Main.f90 \ Equipments/BopStack/BlindRamsMain.f90 \ CSharp/Problems/CKickProblems.f90 \ CSharp/OperationScenarios/Permissions/Permissions.f90 \ CSharp/BasicInputs/Geology/CFormation.f90 \ Equipments/BopStack/KillLineMain.f90 \ CSharp/Problems/CGaugesProblems.f90 \ CSharp/BasicInputs/WellProfile/CCasingLinerChoke.f90 \ CSharp/BasicInputs/Geology/CShoe.f90 \ CSharp/Problems/CPumpProblems.f90 \ CSharp/Equipments/ControlPanels/CDataDisplayConsole.f90 \ CSharp/OperationScenarios/SoftwareInputs.f90 \ TorqueDrag/TD_ReadDataSubroutines/TD_DrillStemReadData.f90 \ Equipments/Pumps/Pump_OffMode_Solver.f90 \ TorqueDrag/TD_Forces/TD_DropArea/TD_ForceDownDRot.f90 \ TorqueDrag/TD_Forces/TD_DropArea/TD_ForceDownD.f90 \ FluidFlow/kick/Formation_Information.f90 \ TorqueDrag/TD_DrillingSubs/TD_WellElementsConfiguration.f90 \ Equipments/MudSystem/Elements_Creation.f90 \ Equipments/Drawworks/Drawworks_StartUp.f90 \ TorqueDrag/TD_ReadDataSubroutines/TD_PipePropertiesReadData.f90 \ TorqueDrag/TD_Forces/TD_CombinedMotionData.f90 \ TorqueDrag/TD_DrillingSubs/TVD_Calculator.f90 \ TorqueDrag/TD_Forces/TD_StraightArea/TD_ForceUpSRot.f90 \ Rop/Bit_Specification.f90 \ Equipments/Pumps/Pump3_MainSolver.f90 \ Equipments/MudSystem/Kick_Expansion_and_Contraction.f90 \ TorqueDrag/TD_Forces/TD_ForceCalculation.f90 \ TorqueDrag/TD_Forces/TD_BuildArea/TD_ForceDownB.f90 \ Equipments/Pumps/Pumps_TotalSolver.f90 \ TorqueDrag/TD_Forces/TD_StrainCalculation.f90 \ FluidFlow/Flow_Startup.f90 \ Equipments/DrillingConsole_ScrLEDs.f90 \ TorqueDrag/TD_Forces/TD_ViscousDragForce/TD_ViscousDragForce.f90 \ TorqueDrag/TD_Forces/TD_StraightArea/TD_ForceUpS.f90 \ TorqueDrag/TD_Forces/TD_StraightArea/TD_ForceDownS.f90 \ Equipments/RotaryTable/RTable_StartUp.f90 \ Equipments/MudSystem/Utube2_and_Trip_In.f90 \ Equipments/MudSystem/Kick_Migration.f90 \ TorqueDrag/TD_ReadDataSubroutines/TD_ForceReadData.f90 \ TorqueDrag/TD_Forces/TD_StaticHookLoadCalculation.f90 \ Equipments/MudSystem/Pump_and_Trip_In.f90 \ Equipments/MudSystem/Deallocate_Normal_Circulation.f90 \ Equipments/RotaryTable/RTable_OnModeSolver.f90 \ Equipments/Pumps/Pump_OnMode_Solver.f90 \ TorqueDrag/TD_ReadDataSubroutines/TD_WellElementsReadData.f90 \ TorqueDrag/TD_ReadDataSubroutines/TD_MudPropertiesReadData.f90 \ TorqueDrag/TD_Forces/TD_DropArea/TD_ForceUpDRot.f90 \ Equipments/TopDrive/TopDrive_StartUp.f90 \ Equipments/MudSystem/FillingWell_By_BellNipple.f90 \ TorqueDrag/TD_Forces/TD_BuildArea/TD_ForceUpBRot.f90 \ TorqueDrag/TD_Forces/TD_TorqueCalculation.f90 \ TorqueDrag/TD_Forces/TD_BuildArea/TD_ForceDownBRot.f90 \ Equipments/Drawworks/Drawworks_MainSolver.f90 \ TorqueDrag/TD_Forces/TD_DropArea/TD_ForceUpD.f90 \ TorqueDrag/TD_Forces/TD_BuildArea/TD_ForceUpB.f90 \ Equipments/RotaryTable/RTable_OffModeSolver.f90 \ TorqueDrag/TD_StartUp/TD_DrillStemStartUp.f90 \ TorqueDrag/TD_Forces/TD_StraightArea/TD_ForceDownSRot.f90 \ Rop/JetImpactForce.f90 \ TorqueDrag/TD_ReadDataSubroutines/TD_WellReadData.f90 \ TorqueDrag/TD_Forces/TD_BouyancyFactor.f90 \ FluidFlow/Frictional_Press_Drop_Calc.f90 \ Equipments/TopDrive/TopDrive_Outputs.f90 \ Equipments/Drawworks/DWFixModeMotion.f90 \ CSharp/Equipments/ControlPanels/CBopControlPanel.f90 \ CSharp/OperationScenarios/Unity/UnityModule.f90 \ CSharp/OperationScenarios/UnitySignals/UnitySignals.f90 \ CSharp/BasicInputs/RigSpecifications/CPumps.f90 \ CSharp/Equipments/ControlPanels/CChokeManifold.f90 \ CSharp/Equipments/Tanks/CTanks.f90 \ CSharp/Warnings/CWarnings.f90 \ TorqueDrag/TD_DrillingSubs/TD_BOPDiamCalculation.f90 \ Equipments/Drawworks/Drawworks_Direction.f90 \ Equipments/RotaryTable/RTable_Outputs.f90 \ Equipments/Drawworks/DWMalfunction_MotorFailure.f90 \ TorqueDrag/TD_Forces/TD_WeightOnBitCalculation.f90 \ FluidFlow/String_Property_Calculator.f90 \ FluidFlow/Annulus_Property_Calculator.f90 \ Equipments/MudSystem/Trip_Out_andPump.f90 \ Equipments/MudSystem/Utube1_and_Trip_In.f90 \ Equipments/Pumps/Pump2_MainSolver.f90 \ Equipments/Pumps/Pump1_MainSolver.f90 \ FluidFlow/Utube.f90 \ Equipments/BopStack/BOP.f90 \ Equipments/BopStack/SHEAR_RAM.f90 \ Equipments/BopStack/PIPE_RAM2.f90 \ Equipments/BopStack/LOSS_INPUTS.f90 \ Equipments/BopStack/ANNULAR.f90 \ Equipments/BopStack/CHOKE_LINE.f90 \ Equipments/BopStack/KILL_LINE.f90 \ Equipments/BopStack/PIPE_RAM1.f90 \ Equipments/BopStack/BOPstartup.f90 \ TorqueDrag/TD_StartUp/TD_StartUp.f90 \ TorqueDrag/TD_Forces/TD_HookLoadCalculation.f90 \ Equipments/TopDrive/TopDrive_Inputs.f90 \ Equipments/TopDrive/TopDrive_Solver.f90 \ CSharp/OperationScenarios/Notifications/Notifications.f90 \ TorqueDrag/TorqueDragMain.f90 \ TorqueDrag/TD_DrillingSubs/MeshGeneration_FluidModule.f90 \ Equipments/Pumps/Pumps_StartUp.f90 \ Equipments/ChokeControl/CHOKE.f90 \ Equipments/ChokeControl/AirPump_Choke_Subs.f90 \ Equipments/MudSystem/MudSystemStartup.f90 \ Equipments/TopDrive/TopDriveMain.f90 \ Equipments/MudSystem/MudSystem.f90 \ Rop/ROP_MainCalculation.f90 \ Equipments/Drawworks/Drawworks_Outputs.f90 \ Equipments/RotaryTable/RTable_Inputs.f90 \ Equipments/TopDrive/TopDrive_OffMode.f90 \ Equipments/TopDrive/TopDrive_MainSolver.f90 \ CSharp/OperationScenarios/Common/OperationScenarios.f90 \ Equipments/ChokeControl/ChokeControlMain.f90 \ Equipments/ChokeControl/ChokeStartup.f90 \ Equipments/MudSystem/MudSystemMain.f90 \ Equipments/Pumps/Pumps_Inputs.f90 \ Equipments/Pumps/Pumps_Outputs.f90 \ FluidFlow/Annulus_and_Openhole_Pressure_Distribution.f90 \ TorqueDrag/TD_DrillingSubs/TD_WellGeoConfiguration.f90 \ Equipments/RotaryTable/RTable_MainSolver.f90 \ CSharp/OperationScenarios/UnitySignals/CSlipsEnum.f90 \ CSharp/OperationScenarios/Notifications/CUnlatchLedNotification.f90 \ CSharp/OperationScenarios/Notifications/CTdsTorqueWrenchLedNotification.f90 \ CSharp/OperationScenarios/Permissions/CInstallMudBucketPermission.f90 \ CSharp/OperationScenarios/Permissions/CFillupHeadPermission.f90 \ CSharp/OperationScenarios/Notifications/COpenKellyCockLedNotification.f90 \ CSharp/OperationScenarios/Notifications/CTdsPowerLedNotification.f90 \ CSharp/OperationScenarios/Notifications/CSwingLedNotification.f90 \ CSharp/OperationScenarios/Enums/CTdsElevatorModesEnum.f90 \ CSharp/OperationScenarios/UnitySignals/CTdsSpineEnum.f90 \ CSharp/OperationScenarios/Permissions/CSwingTiltPermission.f90 \ CSharp/OperationScenarios/Permissions/CIrSafetyValvePermission.f90 \ CSharp/OperationScenarios/Permissions/CSwingOffPermission.f90 \ CSharp/OperationScenarios/Notifications/CCloseSafetyValveLedNotification.f90 \ CSharp/OperationScenarios/UnitySignals/CMouseHoleEnum.f90 \ CSharp/OperationScenarios/UnitySignals/CFlowPipeDisconnectEnum.f90 \ CSharp/OperationScenarios/Notifications/CCloseKellyCockLedNotification.f90 \ CSharp/OperationScenarios/Enums/CElevatorConnectionEnum.f90 \ CSharp/OperationScenarios/Notifications/CIrSafetyValveLedNotification.f90 \ CSharp/OperationScenarios/UnitySignals/CFlowKellyDisconnectEnum.f90 \ CSharp/OperationScenarios/Notifications/COpenSafetyValveLedNotification.f90 \ CSharp/OperationScenarios/UnitySignals/CTdsBackupClamp.f90 \ CSharp/OperationScenarios/UnitySignals/CTdsTongEnum.f90 \ CSharp/OperationScenarios/UnitySignals/CElevatorEnum.f90 \ CSharp/OperationScenarios/Notifications/CTongNotification.f90 \ CSharp/OperationScenarios/UnitySignals/CSafetyValveEnum.f90 \ CSharp/OperationScenarios/Permissions/CRemoveMudBucketPermission.f90 \ CSharp/OperationScenarios/Permissions/CInstallFillupHeadPermission.f90 \ CSharp/OperationScenarios/UnitySignals/CSwingEnum.f90 \ CSharp/OperationScenarios/UnitySignals/CKellyEnum.f90 \ CSharp/OperationScenarios/Permissions/CSwingDrillPermission.f90 \ CSharp/OperationScenarios/Permissions/CIrIbopPermission.f90 \ CSharp/OperationScenarios/Permissions/CRemoveFillupHeadPermission.f90 \ CSharp/OperationScenarios/Common/COperationScenariosSettings.f90 \ CSharp/OperationScenarios/UnitySignals/CTdsSwingEnum.f90 \ CSharp/OperationScenarios/UnitySignals/CIbopEnum.f90 \ CSharp/OperationScenarios/Notifications/CFillMouseHoleLedNotification.f90 \ CSharp/OperationScenarios/UnitySignals/CTongEnum.f90 \ CSharp/OperationScenarios/Notifications/CIrIBopLedNotification.f90 \ CSharp/OperationScenarios/Notifications/CTdsIbopLedNotification.f90 \ CSharp/OperationScenarios/Notifications/CLatchLedNotification.f90 \ CSharp/OperationScenarios/Notifications/CSlipsNotification.f90 \ TorqueDrag/TD_DrillingSubs/TD_DrillStemConfiguration.f90 \ Equipments/MudSystem/Kick_Influx.f90 \ Equipments/MudSystem/Disconnecting_Pipe.f90 \ Equipments/Drawworks/Drawworks_Solver_OffMode.f90 \ TorqueDrag/TD_DrillingSubs/TD_RemoveComponents.f90 \ FluidFlow/Horizontal_and_String_Pressure_Distribution.f90 \ Equipments/Drawworks/Drawworks_INPUTS.f90 \ TorqueDrag/TD_DrillingSubs/TD_AddComponents.f90 \ Equipments/Drawworks/Drawworks_Solver.f90 \ Equipments/Pumps/Pumps_MainSolver.f90 \ CSharp/OperationScenarios/Common/COperationScenariosMain.f90 \ Equipments/MudSystem/Circulation_Code_Select.f90 \ TorqueDrag/TD_DrillingSubs/TD_StringConnectionModes.f90 \ FluidFlow/kick/Gas_Kick_Calculator.f90 \ Redis/Redis_Interface.f90 \ Simulator.f90 \ TorqueDrag/TD_MainCalculations.f90 \ FluidFlow/Well_Pressure_Data_Transfer.f90 \ Equipments/MudSystem/Plot_Final_Mud_Elements.f90 \ FluidFlow/Fluid_Flow_Solver.f90 OBJS_T1 = $(patsubst %.f90,%.o,$(SRCS_F)) OBJS_T2 = $(notdir $(OBJS_T1)) # The object files are all to be obj\.o OBJS_F = $(patsubst %.o,$(OBJ_DIR)/%.o,$(OBJS_T2)) all: $(TARGET) $(TARGET): $(OBJS_F) @echo "make TARGET" cc Redis/redis_io.c -c -o obj/redis_io.o $(FC) -o $@ $(FCFLAGS) $(OBJS_F) obj/redis_io.o lib/libjsonfortran.a lib/libhiredis.a $@.f90 writevars: $(OBJS_F) @echo "make writevars" cc Redis/redis_io.c -c -o obj/redis_io.o $(FC) -o write_vars $(FCFLAGS) $(OBJS_F) obj/redis_io.o lib/libjsonfortran.a lib/libhiredis.a Test/write_vars.f90 # ./write_vars config-remote.json debug: @echo "make with dynamic dlls" cc Redis/redis_io.c -c -o obj/redis_io.o $(FC) -o SimulationCore2_DEBUG $(FCFLAGS) $(OBJS_F) obj/redis_io.o lib/libjsonfortran.a lib/libhiredis.so SimulationCore2.f90 $(OBJ_DIR)/%.o: %.f90 $(FC) $(FCFLAGS) -c -o $@ $< testjson: $(FC) -o Test_Json $(FCFLAGS) Test/testJson.f90 lib/libjsonfortran.a ./Test_Json testredis: @echo "make test redis" cc Redis/redis_io.c -c -o obj/redis_io.o $(FC) $(FCFLAGS) -c -o obj/Redis_Interface.o Redis/Redis_Interface.f90 $(FC) $(FCFLAGS) -o Test_Redis obj/redis_io.o obj/Redis_Interface.o lib/libhiredis.a Test/test_redis.f90 ./Test_Redis testjson2: ifort -o test_json -module ./mod -fpp obj/Redis_Interface.o Test/testJson.f90 lib/libjsonfortran.a obj/redis_io.o lib/libhiredis.a ./test_json clean: rm $(OBJ_DIR)/*.o SimulationCore2 list:; @echo " " @echo " " @echo "Source files:" @echo $(SRCS_F) @echo " " @echo "Object files:" @echo $(OBJS_F) @echo " " @echo "Compiler : $(FC)" @echo "Modules directory : $(MOD_DIR)" @echo "Object directory : $(OBJ_DIR)" @echo " "