From 9bd6de066bea5ff3f5481db11f88b8463a94ff04 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Mon, 29 Mar 2021 12:18:14 +0400 Subject: =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20=D1=88?= =?UTF-8?q?=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=20make=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?=D0=B3=D1=80=D0=B0=D1=84=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- graphs/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 graphs/Makefile 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 -- cgit v1.2.3