From 15a06d738f5d6d47e9beafac0c11484d495617aa Mon Sep 17 00:00:00 2001
From: Moncef STITI <moncef.stiti@etu.u-pec.fr>
Date: Sun, 16 Mar 2025 14:09:18 +0100
Subject: [PATCH] Ajout d'un test d'un autre groupe

---
 .../test-10-NomDeFichier/bake/Bakefile        | 23 +++++++++++++++++++
 .../test-10-NomDeFichier/bake/main program.c  |  8 +++++++
 .../test-10-NomDeFichier/bake/utils!.c        |  5 ++++
 .../test-10-NomDeFichier/bake/utils!.h        |  6 +++++
 .../test-10-NomDeFichier/make/Makefile        | 23 +++++++++++++++++++
 .../test-10-NomDeFichier/make/main program.c  |  8 +++++++
 .../test-10-NomDeFichier/make/utils!.c        |  5 ++++
 .../test-10-NomDeFichier/make/utils!.h        |  6 +++++
 8 files changed, 84 insertions(+)
 create mode 100644 tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/Bakefile
 create mode 100644 tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/main program.c
 create mode 100644 tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/utils!.c
 create mode 100644 tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/utils!.h
 create mode 100644 tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/Makefile
 create mode 100644 tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/main program.c
 create mode 100644 tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/utils!.c
 create mode 100644 tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/utils!.h

diff --git a/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/Bakefile b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/Bakefile
new file mode 100644
index 0000000..0ded12f
--- /dev/null
+++ b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/Bakefile
@@ -0,0 +1,23 @@
+# Bakefile
+
+# Define variables
+SRC_DIR = .
+BUILD_DIR = .
+OUTPUT_DIR = .
+
+# Target to create directories
+setup:
+	mkdir -p "$(OUTPUT_DIR)"
+
+# Target to compile the source files
+compile: setup
+	gcc -c "$(SRC_DIR)/main program.c" -o "$(BUILD_DIR)/main program.o"
+	gcc -c "$(SRC_DIR)/utils!.c" -o "$(BUILD_DIR)/utils!.o"
+
+# Target to link the object files into an executable
+link: compile
+	gcc -o "$(OUTPUT_DIR)/test_program" "$(BUILD_DIR)/main program.o" "$(BUILD_DIR)/utils!.o"
+
+# Clean target to remove created directories and files
+clean:
+	rm -rf "$(BUILD_DIR)"
\ No newline at end of file
diff --git a/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/main program.c b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/main program.c
new file mode 100644
index 0000000..e4a7059
--- /dev/null
+++ b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/main program.c	
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include "utils!.h"
+
+int main() {
+    printf("Program with special characters started!\n");
+    print_hello();
+    return 0;
+}
\ No newline at end of file
diff --git a/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/utils!.c b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/utils!.c
new file mode 100644
index 0000000..6cbd442
--- /dev/null
+++ b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/utils!.c
@@ -0,0 +1,5 @@
+#include <stdio.h>
+
+void print_hello() {
+    printf("Hello from utils with special characters!\n");
+}
\ No newline at end of file
diff --git a/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/utils!.h b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/utils!.h
new file mode 100644
index 0000000..371ddb1
--- /dev/null
+++ b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/bake/utils!.h
@@ -0,0 +1,6 @@
+#ifndef UTILS_H
+#define UTILS_H
+
+void print_hello();
+
+#endif
diff --git a/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/Makefile b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/Makefile
new file mode 100644
index 0000000..0ded12f
--- /dev/null
+++ b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/Makefile
@@ -0,0 +1,23 @@
+# Bakefile
+
+# Define variables
+SRC_DIR = .
+BUILD_DIR = .
+OUTPUT_DIR = .
+
+# Target to create directories
+setup:
+	mkdir -p "$(OUTPUT_DIR)"
+
+# Target to compile the source files
+compile: setup
+	gcc -c "$(SRC_DIR)/main program.c" -o "$(BUILD_DIR)/main program.o"
+	gcc -c "$(SRC_DIR)/utils!.c" -o "$(BUILD_DIR)/utils!.o"
+
+# Target to link the object files into an executable
+link: compile
+	gcc -o "$(OUTPUT_DIR)/test_program" "$(BUILD_DIR)/main program.o" "$(BUILD_DIR)/utils!.o"
+
+# Clean target to remove created directories and files
+clean:
+	rm -rf "$(BUILD_DIR)"
\ No newline at end of file
diff --git a/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/main program.c b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/main program.c
new file mode 100644
index 0000000..e4a7059
--- /dev/null
+++ b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/main program.c	
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include "utils!.h"
+
+int main() {
+    printf("Program with special characters started!\n");
+    print_hello();
+    return 0;
+}
\ No newline at end of file
diff --git a/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/utils!.c b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/utils!.c
new file mode 100644
index 0000000..6cbd442
--- /dev/null
+++ b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/utils!.c
@@ -0,0 +1,5 @@
+#include <stdio.h>
+
+void print_hello() {
+    printf("Hello from utils with special characters!\n");
+}
\ No newline at end of file
diff --git a/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/utils!.h b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/utils!.h
new file mode 100644
index 0000000..371ddb1
--- /dev/null
+++ b/tests/tests-autres-groupes/lenny-khalid-thomas/test-10-NomDeFichier/make/utils!.h
@@ -0,0 +1,6 @@
+#ifndef UTILS_H
+#define UTILS_H
+
+void print_hello();
+
+#endif