This commit is contained in:
Aurélien Gauthier 2022-06-17 17:45:03 +02:00
commit e1c631229d
13 changed files with 146 additions and 887 deletions

View file

@ -1,811 +0,0 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.18
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/auel/Documents/Code/Traitement-signal-plantes/Code-C
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/auel/Documents/Code/Traitement-signal-plantes/Code-C
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# Special rule for the target test
test:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
/usr/bin/ctest --force-new-ctest-process $(ARGS)
.PHONY : test
# Special rule for the target test
test/fast: test
.PHONY : test/fast
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/auel/Documents/Code/Traitement-signal-plantes/Code-C/CMakeFiles /home/auel/Documents/Code/Traitement-signal-plantes/Code-C//CMakeFiles/progress.marks
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/auel/Documents/Code/Traitement-signal-plantes/Code-C/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named NightlyMemCheck
# Build rule for target.
NightlyMemCheck: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 NightlyMemCheck
.PHONY : NightlyMemCheck
# fast build rule for target.
NightlyMemCheck/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/NightlyMemCheck.dir/build.make CMakeFiles/NightlyMemCheck.dir/build
.PHONY : NightlyMemCheck/fast
#=============================================================================
# Target rules for targets named NightlyTest
# Build rule for target.
NightlyTest: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 NightlyTest
.PHONY : NightlyTest
# fast build rule for target.
NightlyTest/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/NightlyTest.dir/build.make CMakeFiles/NightlyTest.dir/build
.PHONY : NightlyTest/fast
#=============================================================================
# Target rules for targets named ContinuousConfigure
# Build rule for target.
ContinuousConfigure: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ContinuousConfigure
.PHONY : ContinuousConfigure
# fast build rule for target.
ContinuousConfigure/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ContinuousConfigure.dir/build.make CMakeFiles/ContinuousConfigure.dir/build
.PHONY : ContinuousConfigure/fast
#=============================================================================
# Target rules for targets named ContinuousBuild
# Build rule for target.
ContinuousBuild: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ContinuousBuild
.PHONY : ContinuousBuild
# fast build rule for target.
ContinuousBuild/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ContinuousBuild.dir/build.make CMakeFiles/ContinuousBuild.dir/build
.PHONY : ContinuousBuild/fast
#=============================================================================
# Target rules for targets named NightlyConfigure
# Build rule for target.
NightlyConfigure: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 NightlyConfigure
.PHONY : NightlyConfigure
# fast build rule for target.
NightlyConfigure/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/NightlyConfigure.dir/build.make CMakeFiles/NightlyConfigure.dir/build
.PHONY : NightlyConfigure/fast
#=============================================================================
# Target rules for targets named NightlyMemoryCheck
# Build rule for target.
NightlyMemoryCheck: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 NightlyMemoryCheck
.PHONY : NightlyMemoryCheck
# fast build rule for target.
NightlyMemoryCheck/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/NightlyMemoryCheck.dir/build.make CMakeFiles/NightlyMemoryCheck.dir/build
.PHONY : NightlyMemoryCheck/fast
#=============================================================================
# Target rules for targets named ExperimentalTest
# Build rule for target.
ExperimentalTest: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ExperimentalTest
.PHONY : ExperimentalTest
# fast build rule for target.
ExperimentalTest/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ExperimentalTest.dir/build.make CMakeFiles/ExperimentalTest.dir/build
.PHONY : ExperimentalTest/fast
#=============================================================================
# Target rules for targets named ContinuousUpdate
# Build rule for target.
ContinuousUpdate: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ContinuousUpdate
.PHONY : ContinuousUpdate
# fast build rule for target.
ContinuousUpdate/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ContinuousUpdate.dir/build.make CMakeFiles/ContinuousUpdate.dir/build
.PHONY : ContinuousUpdate/fast
#=============================================================================
# Target rules for targets named NightlyUpdate
# Build rule for target.
NightlyUpdate: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 NightlyUpdate
.PHONY : NightlyUpdate
# fast build rule for target.
NightlyUpdate/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/NightlyUpdate.dir/build.make CMakeFiles/NightlyUpdate.dir/build
.PHONY : NightlyUpdate/fast
#=============================================================================
# Target rules for targets named ExperimentalMemCheck
# Build rule for target.
ExperimentalMemCheck: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ExperimentalMemCheck
.PHONY : ExperimentalMemCheck
# fast build rule for target.
ExperimentalMemCheck/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ExperimentalMemCheck.dir/build.make CMakeFiles/ExperimentalMemCheck.dir/build
.PHONY : ExperimentalMemCheck/fast
#=============================================================================
# Target rules for targets named ExperimentalSubmit
# Build rule for target.
ExperimentalSubmit: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ExperimentalSubmit
.PHONY : ExperimentalSubmit
# fast build rule for target.
ExperimentalSubmit/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ExperimentalSubmit.dir/build.make CMakeFiles/ExperimentalSubmit.dir/build
.PHONY : ExperimentalSubmit/fast
#=============================================================================
# Target rules for targets named Experimental
# Build rule for target.
Experimental: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Experimental
.PHONY : Experimental
# fast build rule for target.
Experimental/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Experimental.dir/build.make CMakeFiles/Experimental.dir/build
.PHONY : Experimental/fast
#=============================================================================
# Target rules for targets named ContinuousCoverage
# Build rule for target.
ContinuousCoverage: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ContinuousCoverage
.PHONY : ContinuousCoverage
# fast build rule for target.
ContinuousCoverage/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ContinuousCoverage.dir/build.make CMakeFiles/ContinuousCoverage.dir/build
.PHONY : ContinuousCoverage/fast
#=============================================================================
# Target rules for targets named ExperimentalConfigure
# Build rule for target.
ExperimentalConfigure: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ExperimentalConfigure
.PHONY : ExperimentalConfigure
# fast build rule for target.
ExperimentalConfigure/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ExperimentalConfigure.dir/build.make CMakeFiles/ExperimentalConfigure.dir/build
.PHONY : ExperimentalConfigure/fast
#=============================================================================
# Target rules for targets named Continuous
# Build rule for target.
Continuous: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Continuous
.PHONY : Continuous
# fast build rule for target.
Continuous/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Continuous.dir/build.make CMakeFiles/Continuous.dir/build
.PHONY : Continuous/fast
#=============================================================================
# Target rules for targets named Nightly
# Build rule for target.
Nightly: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Nightly
.PHONY : Nightly
# fast build rule for target.
Nightly/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Nightly.dir/build.make CMakeFiles/Nightly.dir/build
.PHONY : Nightly/fast
#=============================================================================
# Target rules for targets named NightlySubmit
# Build rule for target.
NightlySubmit: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 NightlySubmit
.PHONY : NightlySubmit
# fast build rule for target.
NightlySubmit/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/NightlySubmit.dir/build.make CMakeFiles/NightlySubmit.dir/build
.PHONY : NightlySubmit/fast
#=============================================================================
# Target rules for targets named NightlyStart
# Build rule for target.
NightlyStart: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 NightlyStart
.PHONY : NightlyStart
# fast build rule for target.
NightlyStart/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/NightlyStart.dir/build.make CMakeFiles/NightlyStart.dir/build
.PHONY : NightlyStart/fast
#=============================================================================
# Target rules for targets named ExperimentalCoverage
# Build rule for target.
ExperimentalCoverage: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ExperimentalCoverage
.PHONY : ExperimentalCoverage
# fast build rule for target.
ExperimentalCoverage/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ExperimentalCoverage.dir/build.make CMakeFiles/ExperimentalCoverage.dir/build
.PHONY : ExperimentalCoverage/fast
#=============================================================================
# Target rules for targets named exect
# Build rule for target.
exect: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 exect
.PHONY : exect
# fast build rule for target.
exect/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/build
.PHONY : exect/fast
#=============================================================================
# Target rules for targets named NightlyCoverage
# Build rule for target.
NightlyCoverage: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 NightlyCoverage
.PHONY : NightlyCoverage
# fast build rule for target.
NightlyCoverage/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/NightlyCoverage.dir/build.make CMakeFiles/NightlyCoverage.dir/build
.PHONY : NightlyCoverage/fast
#=============================================================================
# Target rules for targets named ExperimentalStart
# Build rule for target.
ExperimentalStart: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ExperimentalStart
.PHONY : ExperimentalStart
# fast build rule for target.
ExperimentalStart/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ExperimentalStart.dir/build.make CMakeFiles/ExperimentalStart.dir/build
.PHONY : ExperimentalStart/fast
#=============================================================================
# Target rules for targets named NightlyBuild
# Build rule for target.
NightlyBuild: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 NightlyBuild
.PHONY : NightlyBuild
# fast build rule for target.
NightlyBuild/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/NightlyBuild.dir/build.make CMakeFiles/NightlyBuild.dir/build
.PHONY : NightlyBuild/fast
#=============================================================================
# Target rules for targets named ExperimentalBuild
# Build rule for target.
ExperimentalBuild: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ExperimentalBuild
.PHONY : ExperimentalBuild
# fast build rule for target.
ExperimentalBuild/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ExperimentalBuild.dir/build.make CMakeFiles/ExperimentalBuild.dir/build
.PHONY : ExperimentalBuild/fast
#=============================================================================
# Target rules for targets named ExperimentalUpdate
# Build rule for target.
ExperimentalUpdate: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ExperimentalUpdate
.PHONY : ExperimentalUpdate
# fast build rule for target.
ExperimentalUpdate/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ExperimentalUpdate.dir/build.make CMakeFiles/ExperimentalUpdate.dir/build
.PHONY : ExperimentalUpdate/fast
#=============================================================================
# Target rules for targets named ContinuousStart
# Build rule for target.
ContinuousStart: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ContinuousStart
.PHONY : ContinuousStart
# fast build rule for target.
ContinuousStart/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ContinuousStart.dir/build.make CMakeFiles/ContinuousStart.dir/build
.PHONY : ContinuousStart/fast
#=============================================================================
# Target rules for targets named ContinuousMemCheck
# Build rule for target.
ContinuousMemCheck: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ContinuousMemCheck
.PHONY : ContinuousMemCheck
# fast build rule for target.
ContinuousMemCheck/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ContinuousMemCheck.dir/build.make CMakeFiles/ContinuousMemCheck.dir/build
.PHONY : ContinuousMemCheck/fast
#=============================================================================
# Target rules for targets named ContinuousTest
# Build rule for target.
ContinuousTest: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ContinuousTest
.PHONY : ContinuousTest
# fast build rule for target.
ContinuousTest/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ContinuousTest.dir/build.make CMakeFiles/ContinuousTest.dir/build
.PHONY : ContinuousTest/fast
#=============================================================================
# Target rules for targets named ContinuousSubmit
# Build rule for target.
ContinuousSubmit: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ContinuousSubmit
.PHONY : ContinuousSubmit
# fast build rule for target.
ContinuousSubmit/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/ContinuousSubmit.dir/build.make CMakeFiles/ContinuousSubmit.dir/build
.PHONY : ContinuousSubmit/fast
average.o: average.c.o
.PHONY : average.o
# target to build an object file
average.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/average.c.o
.PHONY : average.c.o
average.i: average.c.i
.PHONY : average.i
# target to preprocess a source file
average.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/average.c.i
.PHONY : average.c.i
average.s: average.c.s
.PHONY : average.s
# target to generate assembly for a file
average.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/average.c.s
.PHONY : average.c.s
fileGestion.o: fileGestion.c.o
.PHONY : fileGestion.o
# target to build an object file
fileGestion.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/fileGestion.c.o
.PHONY : fileGestion.c.o
fileGestion.i: fileGestion.c.i
.PHONY : fileGestion.i
# target to preprocess a source file
fileGestion.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/fileGestion.c.i
.PHONY : fileGestion.c.i
fileGestion.s: fileGestion.c.s
.PHONY : fileGestion.s
# target to generate assembly for a file
fileGestion.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/fileGestion.c.s
.PHONY : fileGestion.c.s
getArray.o: getArray.c.o
.PHONY : getArray.o
# target to build an object file
getArray.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/getArray.c.o
.PHONY : getArray.c.o
getArray.i: getArray.c.i
.PHONY : getArray.i
# target to preprocess a source file
getArray.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/getArray.c.i
.PHONY : getArray.c.i
getArray.s: getArray.c.s
.PHONY : getArray.s
# target to generate assembly for a file
getArray.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/getArray.c.s
.PHONY : getArray.c.s
growthRate.o: growthRate.c.o
.PHONY : growthRate.o
# target to build an object file
growthRate.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/growthRate.c.o
.PHONY : growthRate.c.o
growthRate.i: growthRate.c.i
.PHONY : growthRate.i
# target to preprocess a source file
growthRate.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/growthRate.c.i
.PHONY : growthRate.c.i
growthRate.s: growthRate.c.s
.PHONY : growthRate.s
# target to generate assembly for a file
growthRate.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/growthRate.c.s
.PHONY : growthRate.c.s
main.o: main.c.o
.PHONY : main.o
# target to build an object file
main.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/main.c.o
.PHONY : main.c.o
main.i: main.c.i
.PHONY : main.i
# target to preprocess a source file
main.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/main.c.i
.PHONY : main.c.i
main.s: main.c.s
.PHONY : main.s
# target to generate assembly for a file
main.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/main.c.s
.PHONY : main.c.s
power.o: power.c.o
.PHONY : power.o
# target to build an object file
power.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/power.c.o
.PHONY : power.c.o
power.i: power.c.i
.PHONY : power.i
# target to preprocess a source file
power.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/power.c.i
.PHONY : power.c.i
power.s: power.c.s
.PHONY : power.s
# target to generate assembly for a file
power.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/power.c.s
.PHONY : power.c.s
queue.o: queue.c.o
.PHONY : queue.o
# target to build an object file
queue.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/queue.c.o
.PHONY : queue.c.o
queue.i: queue.c.i
.PHONY : queue.i
# target to preprocess a source file
queue.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/queue.c.i
.PHONY : queue.c.i
queue.s: queue.c.s
.PHONY : queue.s
# target to generate assembly for a file
queue.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/queue.c.s
.PHONY : queue.c.s
simulateFlux.o: simulateFlux.c.o
.PHONY : simulateFlux.o
# target to build an object file
simulateFlux.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/simulateFlux.c.o
.PHONY : simulateFlux.c.o
simulateFlux.i: simulateFlux.c.i
.PHONY : simulateFlux.i
# target to preprocess a source file
simulateFlux.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/simulateFlux.c.i
.PHONY : simulateFlux.c.i
simulateFlux.s: simulateFlux.c.s
.PHONY : simulateFlux.s
# target to generate assembly for a file
simulateFlux.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/exect.dir/build.make CMakeFiles/exect.dir/simulateFlux.c.s
.PHONY : simulateFlux.c.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... rebuild_cache"
@echo "... test"
@echo "... Continuous"
@echo "... ContinuousBuild"
@echo "... ContinuousConfigure"
@echo "... ContinuousCoverage"
@echo "... ContinuousMemCheck"
@echo "... ContinuousStart"
@echo "... ContinuousSubmit"
@echo "... ContinuousTest"
@echo "... ContinuousUpdate"
@echo "... Experimental"
@echo "... ExperimentalBuild"
@echo "... ExperimentalConfigure"
@echo "... ExperimentalCoverage"
@echo "... ExperimentalMemCheck"
@echo "... ExperimentalStart"
@echo "... ExperimentalSubmit"
@echo "... ExperimentalTest"
@echo "... ExperimentalUpdate"
@echo "... Nightly"
@echo "... NightlyBuild"
@echo "... NightlyConfigure"
@echo "... NightlyCoverage"
@echo "... NightlyMemCheck"
@echo "... NightlyMemoryCheck"
@echo "... NightlyStart"
@echo "... NightlySubmit"
@echo "... NightlyTest"
@echo "... NightlyUpdate"
@echo "... exect"
@echo "... average.o"
@echo "... average.i"
@echo "... average.s"
@echo "... fileGestion.o"
@echo "... fileGestion.i"
@echo "... fileGestion.s"
@echo "... getArray.o"
@echo "... getArray.i"
@echo "... getArray.s"
@echo "... growthRate.o"
@echo "... growthRate.i"
@echo "... growthRate.s"
@echo "... main.o"
@echo "... main.i"
@echo "... main.s"
@echo "... power.o"
@echo "... power.i"
@echo "... power.s"
@echo "... queue.o"
@echo "... queue.i"
@echo "... queue.s"
@echo "... simulateFlux.o"
@echo "... simulateFlux.i"
@echo "... simulateFlux.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View file

@ -13,12 +13,12 @@ void averageCalculation(long **p, double averageArray[]){
for(int i = 1; i < nCol; i++){ for(int i = 1; i < nCol; i++){
int j = 0; int j = 0;
averageArray[i] = 0; averageArray[i] = 0;
while(j < nRow -1){ while(j < nRowRawData){
averageArray[i] += p[i][j]; averageArray[i] += p[i][j];
j++; j++;
} }
averageArray[i] /= nRow; //printf("%f , %f\n", averageArray[i] , averageArray[i] / nRowRawData);
//printf("%f\n", powerArray[i]); averageArray[i] /= nRowRawData;
} }
} }
@ -27,12 +27,19 @@ void averageCalculation(long **p, double averageArray[]){
* *
* @param rawDataFileName name of the raw data file to use to realize the calcul * @param rawDataFileName name of the raw data file to use to realize the calcul
*/ */
void averageThreadFunction(char* rawDataFileName){ void averageFunction(char* rawDataFileName , double **aver){
long **p = getRawDataArray(rawDataFileName); long **p = getRawDataArray(rawDataFileName);
double aver[nCol -1]; double averN[nCol -1];
if(p !=NULL){ if(p !=NULL){
averageCalculation(p,aver); if(p !=NULL){
appendDataInFile("averageData.csv",aver,nCol-1); if(aver == NULL){
freeArray(p,nRow); averageCalculation(p,averN);
appendDataInFile("averageData.csv",averN,nCol-1);
}else{
averageCalculation(p,aver[1]);
appendDataInFile("averageData.csv",aver[1],nCol-1);
}
freeArray(p,nRowRawData);
}
} }
} }

View file

@ -1,4 +1,4 @@
#include <math.h> #include <math.h>
#include <stdbool.h> #include <stdbool.h>
void averageThreadFunction(char* rawDataFileName); void averageFunction(char* rawDataFileName , double **aver);

View file

@ -3,7 +3,7 @@
#include "initialParameters.h" #include "initialParameters.h"
//#include <string.h> //#include <string.h>
long **get(int N, int M) /* Allocate the array */ long **getlongArray(int N, int M) /* Allocate the array */
{ {
/* Check if allocation succeeded. (check for NULL pointer) */ /* Check if allocation succeeded. (check for NULL pointer) */
int i; int i;
@ -14,6 +14,17 @@ long **get(int N, int M) /* Allocate the array */
return array; return array;
} }
double **getDoubleArray(int N, int M) /* Allocate the array */
{
/* Check if allocation succeeded. (check for NULL pointer) */
int i;
double **array;
array = (double **) malloc(N*sizeof(double *));
for(i = 0 ; i < N ; i++)
array[i] = (double *) malloc( M*sizeof(double));
return array;
}
void fillArrayWithRawData(char *rawDataFileName,long** p, int N, int M) { void fillArrayWithRawData(char *rawDataFileName,long** p, int N, int M) {
int i, j; int i, j;
char *buffer; char *buffer;
@ -42,7 +53,7 @@ void printArrayData(long** p, int N, int M) {
for(i = 0 ; i < N ; i++){ for(i = 0 ; i < N ; i++){
printf("line n°%d : " , i); printf("line n°%d : " , i);
for(int j = 0 ; j < M ; j++){ for(int j = 0 ; j < M ; j++){
printf("%d , " , p[i][j]); printf("%ld , " , p[i][j]);
if(j==(M-1)) printf("\n"); if(j==(M-1)) printf("\n");
} }
} }
@ -86,8 +97,8 @@ void freeArray(long **p, int N) {
*/ */
long **getRawDataArray(char* rawDataFileName){ long **getRawDataArray(char* rawDataFileName){
long **p; long **p;
p = get(nRow, nCol); p = getlongArray(nRowRawData, nCol);
fillArrayWithRawData(rawDataFileName,p ,nRow, nCol); fillArrayWithRawData(rawDataFileName,p ,nRowRawData, nCol);
//if(checkArrayFullyFill(p,nRow)){ //if(checkArrayFullyFill(p,nRow)){
//clearRawData(N); //clearRawData(N);
return p; return p;

View file

@ -9,3 +9,4 @@ long **getRawDataArray(char *rawDataFileName);
void printArrayData(long** p, int N, int M); void printArrayData(long** p, int N, int M);
void freeArray(long **p, int N); void freeArray(long **p, int N);
bool checkArrayFullyFill(long **p, int N ); bool checkArrayFullyFill(long **p, int N );
double **getDoubleArray(int N, int M);

View file

@ -9,16 +9,28 @@
* @param gRateArray array that contaigns results of the growth ratecalculation * @param gRateArray array that contaigns results of the growth ratecalculation
*/ */
void growthRateCalculation(double **dataArray , double *gRateArray){ void growthRateCalculation(double **dataArray , double *gRateArray){
double gRate = 0;
for(int i = 0 ; i < nCol-1 ; i++){ for(int i = 0 ; i < nCol-1 ; i++){
gRate = (dataArray[1][i] - dataArray[2][i]) / period; gRateArray[i] = (dataArray[0][i] - dataArray[1][i]) / period;
} }
} }
/**
void growthRateFunction(double *dataLign){ * @brief calcul then print differentiate in csv
double **dataArray; *
//initialization + fill * @param dataLign
*/
void growthRateFunction(double **dataLign , char* fileName){
double gRateArray[nCol-1]; double gRateArray[nCol-1];
growthRateCalculation(dataArray , gRateArray); growthRateCalculation(dataLign , gRateArray);
appendDataInFile("growthRate.csv",gRateArray , nCol-1); appendDataInFile(fileName,gRateArray , nCol-1);
}
void sumColArray(long **p, double res[] , int N , int M){
for(int i = 1; i < M; i++){
int j = 0;
res[i] = 0;
while(j < N){
res[i] += p[i][j];
j++;
}
}
} }

View file

@ -1,4 +1,4 @@
#include <math.h> #include <math.h>
#include <stdbool.h> #include <stdbool.h>
void growthRateFunction(double *dataLign); void growthRateFunction(double **dataLign , char* fileName);

View file

@ -2,12 +2,15 @@
#include "queue.h" #include "queue.h"
extern bool rawDataWriteFlag; extern bool rawDataWriteFlag;
extern int nRow; extern int nRowRawData;
extern int nRowGR;
extern int nCol; extern int nCol;
extern double freqEch; extern double freqEch;
extern int nbRowBinFile;
extern int nbRowIgnore;
extern int cptFile; extern int cptFile;
extern int cptValue;
extern double period; extern double period;
extern double invTimeBandWidth; extern double invTimeBandWidth;

BIN
Code-C/main Executable file

Binary file not shown.

View file

@ -6,18 +6,24 @@
#include "queue.h" #include "queue.h"
#include "average.h" #include "average.h"
#include "growthRate.h" #include "growthRate.h"
#include "getArray.h"
bool rawDataWriteFlag; bool rawDataWriteFlag;
int nRow = 500; int nRowRawData = 500;
int nRowGR = 150;
int nCol = 1; int nCol = 1;
double freqEch = 250; double freqEch = 250;
Pqueue firstRawDataQueue; int nbRowBinFile = 900011;
int nbRowIgnore = 19;
Pqueue firstRawDataQueue;
//Captor 1 2 3 4 5 6 7 8
bool selectionCaptors[] = {true,false,true,false,false,false,true,false}; bool selectionCaptors[] = {true,false,true,false,false,false,true,false};
int cptData = 0; int cptData = 0;
int cptFile = 1; int cptFile = 1;
int cptValue = 0;
double period = 0; double period = 0;
double invTimeBandWidth = 0; double invTimeBandWidth = 0;
@ -42,7 +48,7 @@ void *threadCalculAverage(void *vargp){
while(queueGetNextE(rawDataQueue) != NULL){ while(queueGetNextE(rawDataQueue) != NULL){
rawDataQueue = queueGetNextE(rawDataQueue); rawDataQueue = queueGetNextE(rawDataQueue);
fileName = queueGetTabChar(rawDataQueue); fileName = queueGetTabChar(rawDataQueue);
averageThreadFunction(fileName); averageFunction(fileName, NULL);
remove(fileName); remove(fileName);
} }
} }
@ -56,7 +62,7 @@ void *threadCalculBoth(void *vargp){
rawDataQueue = queueGetNextE(rawDataQueue); rawDataQueue = queueGetNextE(rawDataQueue);
fileName = queueGetTabChar(rawDataQueue); fileName = queueGetTabChar(rawDataQueue);
powerFunction(fileName, NULL); powerFunction(fileName, NULL);
averageThreadFunction(fileName); averageFunction(fileName , NULL);
remove(fileName); remove(fileName);
} }
} }
@ -66,17 +72,17 @@ void *threadCalculGrowthRate(void * vargp){
Pqueue rawDataQueue = firstRawDataQueue; Pqueue rawDataQueue = firstRawDataQueue;
char* fileName; char* fileName;
//double pw[nCol-1]; //double pw[nCol-1];
double *dataLign[2][nCol-1]; double **dataLignPw = getDoubleArray(2,nCol);
double **dataLignAv = getDoubleArray(2,nCol);
int i = 0; int i = 0;
while(rawDataWriteFlag){ while(rawDataWriteFlag){
//add case first file traitement
//(possibility 1: call twice powerfunction , following while strat after 2 file encountered)
//(posibilty 2 : initialiaze with a 0-fill array, move ligns for first encounter then let the following whil e do the job)
while(queueGetNextE(rawDataQueue) != NULL){ while(queueGetNextE(rawDataQueue) != NULL){
rawDataQueue = queueGetNextE(rawDataQueue); rawDataQueue = queueGetNextE(rawDataQueue);
fileName = queueGetTabChar(rawDataQueue); fileName = queueGetTabChar(rawDataQueue);
if(i < 2){ if(i < 2){
if(i == 1){ if(i == 1){
<<<<<<< HEAD
printf("zedfghjio\n"); printf("zedfghjio\n");
powerFunction(fileName, dataLign[1]); powerFunction(fileName, dataLign[1]);
growthRateFunction(**dataLign); growthRateFunction(**dataLign);
@ -84,16 +90,33 @@ void *threadCalculGrowthRate(void * vargp){
printf("zedfghjio\n"); printf("zedfghjio\n");
powerFunction(fileName, dataLign[0]); powerFunction(fileName, dataLign[0]);
=======
powerFunction(fileName, dataLignPw);
averageFunction(fileName , dataLignAv);
growthRateFunction(dataLignPw , "growthRatePw.csv");
growthRateFunction(dataLignPw,"growthRateAv.csv");
}else{
averageFunction(fileName , dataLignAv);
powerFunction(fileName, dataLignPw);
>>>>>>> e06c7602e0dade3bd0d2e88e88cacaab8de6f9ea
} }
i++; i++;
}else{ }else{
for(int y = 0; y < (nCol-1); y++){ for(int y = 0; y < (nCol-1); y++){
dataLign[0][y] = dataLign[1][y]; dataLignPw[0][y] = dataLignPw[1][y];
dataLignAv[0][y] = dataLignAv[1][y];
} }
<<<<<<< HEAD
printf("zedfghjio\n"); printf("zedfghjio\n");
powerFunction(fileName, dataLign[1]); powerFunction(fileName, dataLign[1]);
growthRateFunction(**dataLign); growthRateFunction(**dataLign);
=======
powerFunction(fileName, dataLignPw);
averageFunction(fileName , dataLignAv);
growthRateFunction(dataLignPw,"growthRatePw.csv");
growthRateFunction(dataLignPw,"growthRateAv.csv");
>>>>>>> e06c7602e0dade3bd0d2e88e88cacaab8de6f9ea
} }
remove(fileName); remove(fileName);
} }
@ -111,7 +134,7 @@ int main(int argc , char** argv){
rawDataWriteFlag = true; rawDataWriteFlag = true;
period = 1 / freqEch; period = 1 / freqEch;
invTimeBandWidth = 1 /(nRow * period); invTimeBandWidth = 1 /(nRowRawData * period);
firstRawDataQueue = queueCreateEmpty(); // change this for create empty firstRawDataQueue = queueCreateEmpty(); // change this for create empty
pthread_t rawData; pthread_t rawData;

View file

@ -11,16 +11,17 @@
* @param powerArray array where results are stocked * @param powerArray array where results are stocked
*/ */
void powerCalculation(long **p, double powerArray[]){ void powerCalculation(long **p, double powerArray[]){
for(int i = 1; i < nCol; i++){ for(int i = 0; i < nCol; i++){
int j = 0; int j = 0;
powerArray[i] = 0; powerArray[i] = 0;
while(j < nRow-1){
double aire = ( pow(p[j][i],2) + pow(p[j+1][i],2) ) / 2 * period; while(j < nRowRawData){
powerArray[i] += aire; powerArray[i] += pow(p[j][i+1],2);
j++; j++;
} }
powerArray[i] *= invTimeBandWidth; powerArray[i] /= nRowRawData;
} }
} }
/** /**
@ -39,9 +40,9 @@ void powerFunction(char* rawDataFileName, double **pw){
powerCalculation(p,pww); powerCalculation(p,pww);
appendDataInFile("powerData.csv",pww,nCol-1); appendDataInFile("powerData.csv",pww,nCol-1);
}else{ }else{
powerCalculation(p,*pw); powerCalculation(p,pw[1]);
appendDataInFile("powerData.csv",*pw,nCol-1); appendDataInFile("powerData.csv",pw[1],nCol-1);
} }
freeArray(p,nRow); freeArray(p,nRowRawData);
} }
} }

View file

@ -1,4 +1,4 @@
#include <math.h> #include <math.h>
#include <stdbool.h> #include <stdbool.h>
void powerFunction(char* rawDataFileName, double **pw); void powerFunction(char* rawDataFileName, double *pw[]);

View file

@ -93,6 +93,7 @@ int lastIndexCaptor(){
} }
return lastIndex; return lastIndex;
} }
/** /**
* @brief write one lign of rawData in the file @param rawDataFile (simulate of freq of the Vegetal Signals Captor) * @brief write one lign of rawData in the file @param rawDataFile (simulate of freq of the Vegetal Signals Captor)
* *
@ -108,40 +109,51 @@ bool writeOneRawData(FILE *rawDataFile){
quartet value; quartet value;
if(fread(&buff, 26, 1, stdin)) { if(fread(&buff, 26, 1, stdin)) {
fprintf(rawDataFile , "%d,", millis()); //printf("%d\n",cptValue);
if (strncmp(buff, "#################\n", (size_t)18) == 0) { if(cptValue < nbRowBinFile - nbRowIgnore){
if (!(fread(&buff2, 18, 1, stdin))) { FILE *timeFile = fopen("timeFile.csv" , "a+");
fprintf(stderr, "Erreur lecture après ###...#"); fprintf(timeFile , "%ld\n", millis());
} else { fclose(timeFile);
strncpy(buff, &buff[18], 8); fprintf(rawDataFile , "%ld,", millis());
strncpy(&buff[8], buff2, 18); if (strncmp(buff, "#################\n", (size_t)18) == 0) {
} if (!(fread(&buff2, 18, 1, stdin))) {
} fprintf(stderr, "Erreur lecture après ###...#");
int lastIndex = lastIndexCaptor(); } else {
for (int i = 1; i < 9; i++){ strncpy(buff, &buff[18], 8);
if(selectionCaptors[i]){ strncpy(&buff[8], buff2, 18);
value.octet1 = buff[3*i+1];
value.octet2 = buff[3*i+2];
value.octet3 = buff[3*i+3];
value.octet4 = 0;
valbin[i] = buff[3*i+1]*256*256*256 + buff[3*i+2]*256*256 + buff[3*i+3]*256;
memcpy(&values[i], &valbin[i], sizeof(uint32_t));
if(i==lastIndex){
fprintf(rawDataFile, "%d\n", values[i]/256);
}
else{
fprintf(rawDataFile, "%d,", values[i]/256);
} }
} }
int lastIndex = lastIndexCaptor();
for (int i = 1; i < 9; i++){
if(selectionCaptors[i-1]){
value.octet1 = buff[3*i+1];
value.octet2 = buff[3*i+2];
value.octet3 = buff[3*i+3];
value.octet4 = 0;
valbin[i] = buff[3*i+1]*256*256*256 + buff[3*i+2]*256*256 + buff[3*i+3]*256;
memcpy(&values[i], &valbin[i], sizeof(uint32_t));
FILE* allRawDataFile = fopen("AllRawData.csv" , "a+");
if(i-1==lastIndex){
fprintf(rawDataFile, "%d\n", values[i]/256);
fprintf(allRawDataFile, "%d\n", values[i]/256);
}
else{
fprintf(rawDataFile, "%d,", values[i]/256);
fprintf(allRawDataFile, "%d,", values[i]/256);
}
fclose(allRawDataFile);
}
}
cptData++;
//sleep(0.004); //simul freq here
cptValue++;
return true;
}
else {
return false;
} }
cptData++;
//sleep(0.004); //simul freq here
return true;
}
else {
return false;
} }
} }
@ -151,7 +163,7 @@ void *threadSimulateFlux(void *vargp){
FILE *rawDataFile = fopen(fileName,"w+"); FILE *rawDataFile = fopen(fileName,"w+");
while(writeOneRawData(rawDataFile)){ while(writeOneRawData(rawDataFile)){
if(cptData == nRow){ if(cptData == nRowRawData){
fclose(rawDataFile); fclose(rawDataFile);
cptData = 0; cptData = 0;
cptFile++; cptFile++;