summaryrefslogtreecommitdiff
path: root/graphs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphs/Makefile')
-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