From ca510e0f9f3da8560ac72a4c80b33b167582e5e5 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Wed, 27 Apr 2022 13:46:41 +0400 Subject: =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20=D0=B0?= =?UTF-8?q?=D0=BB=D0=B3=D0=BE=D1=80=D0=B8=D1=82=D0=BC=20=D0=BE=D0=B1=D1=85?= =?UTF-8?q?=D0=BE=D0=B4=D0=B0=20=D0=BA=D0=BE=D0=BD=D1=91=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7e36cc1 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +CXX=g++ +CXXFLAGS=-Wall -Wpedantic -ggdb -std=c++17 +SOURCES := $(wildcard *.cpp) +EXECS := $(patsubst %.cpp,%.out,$(SOURCES)) + +all: $(EXECS) + +%.out: %.cpp + $(CXX) $(CXXFLAGS) $< -o $@ -- cgit v1.2.3