diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2023-01-10 10:28:04 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2023-01-10 10:28:04 -0500 |
commit | 5cbb09516a98d53943062badc08865507f18100d (patch) | |
tree | 1e677ab876a6fca9b1e0f0d14885e299f4ecaf6e /makefile |
Initial commit
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..86bcbe2 --- /dev/null +++ b/makefile @@ -0,0 +1,27 @@ +#
+# Auteur: C.-A. Brunet
+# Date: 08 janvier 2018
+# Description: compilation de graphicus-01. Ce fichier fait partie de
+# la distribution de Graphicus.
+#
+
+graphicus-01: graphicus-01.o tests.o canevas.o couche.o forme.o
+ g++ -o graphicus-01 graphicus-01.o tests.o canevas.o couche.o forme.o
+
+graphicus-01.o: graphicus-01.cpp canevas.h couche.h forme.h
+ g++ -c graphicus-01.cpp
+
+tests.o: tests.cpp tests.h canevas.h couche.h forme.h
+ g++ -c tests.cpp
+
+canevas.o: canevas.cpp canevas.h couche.h forme.h
+ g++ -c canevas.cpp
+
+couche.o: couche.cpp couche.h forme.h
+ g++ -c couche.cpp
+
+forme.o: forme.cpp forme.h
+ g++ -c forme.cpp
+
+clean:
+ rm -f *.o
|