aboutsummaryrefslogtreecommitdiff
path: root/semestre 3/structures des données/tme/tme3-5/exo2/Makefile
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-10-19 23:11:41 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2025-10-19 23:11:41 +0200
commitb47e5b1518d7089a2f6fdba439cf35dcf29e6089 (patch)
treebcfa88dffcff71d6a0959d2db7951cc4105f2a42 /semestre 3/structures des données/tme/tme3-5/exo2/Makefile
parent4ed8060318b1807638c12b8b43660bb98fc99fba (diff)
Cours du 13 au 17 octobre
Diffstat (limited to 'semestre 3/structures des données/tme/tme3-5/exo2/Makefile')
-rw-r--r--semestre 3/structures des données/tme/tme3-5/exo2/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/semestre 3/structures des données/tme/tme3-5/exo2/Makefile b/semestre 3/structures des données/tme/tme3-5/exo2/Makefile
new file mode 100644
index 0000000..28930df
--- /dev/null
+++ b/semestre 3/structures des données/tme/tme3-5/exo2/Makefile
@@ -0,0 +1,15 @@
+all: main.o biblioH.o entreeSortieH.o
+ gcc -o main main.o biblioH.o entreeSortieH.o -lm
+
+main.o: main.c
+ gcc -c main.c -lm
+
+biblioH.o: biblioH.c biblioH.h
+ gcc -c biblioH.c biblioH.h -lm
+
+entreeSortieH.o: entreeSortieH.c entreeSortieH.h
+ gcc -c entreeSortieH.c entreeSortieH.h -lm
+
+clean:
+ rm *.o
+ rm *.gch