summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-03-29 12:18:14 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-03-29 12:18:14 +0400
commit9bd6de066bea5ff3f5481db11f88b8463a94ff04 (patch)
tree8d0a497b8be21a714c17a4f2d4f56a641f35b895
parent336e0674a447f2f5c779efd8c55584b58384ba7e (diff)
Добавил шаблон make для графов
-rw-r--r--graphs/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/graphs/Makefile b/graphs/Makefile
new file mode 100644
index 0000000..e37dda1
--- /dev/null
+++ b/graphs/Makefile
@@ -0,0 +1,45 @@
+CXX=g++
+CFLAGS=-g -Wall
+COMPILE=$(CXX) $(CFLAGS)
+
+task1_1:
+ $(COMPILE) -o task.out task1_1.cpp
+test1_1: task1_1
+ @printf "" | ./task.out
+ @printf "Answer: \n"
+
+task12_1:
+ $(COMPILE) -o task.out task12_1.cpp
+test12_1: task12_1
+ @printf "" | ./task.out
+ @printf "Answer: \n"
+
+task9_1:
+ $(COMPILE) -o task.out task9_1.cpp
+test9_1: task9_1
+ @printf "" | ./task.out
+ @printf "Answer: \n"
+
+task5_2:
+ $(COMPILE) -o task.out task5_2.cpp
+test5_2: task5_2
+ @printf "" | ./task.out
+ @printf "Answer: \n"
+
+task5:
+ $(COMPILE) -o task.out task5.cpp
+test5: task5
+ @printf "" | ./task.out
+ @printf "Answer: \n"
+
+task7_2:
+ $(COMPILE) -o task.out task7_2.cpp
+test7_2: task7_2
+ @printf "" | ./task.out
+ @printf "Answer: \n"
+
+clean:
+ rm -f task.out *.zip
+
+archive: clean
+ zip archive.zip *.cpp *.h