From da81a8f76f56a6b21dda16c8df5f1df5f9b962a3 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Wed, 18 May 2022 23:45:58 +0400 Subject: =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B0?= =?UTF-8?q?=20=D0=BF=D1=80=D0=BE=D0=B3=D1=80=D0=B0=D0=BC=D0=BC=D0=B0=20?= =?UTF-8?q?=D1=80=D0=B0=D0=B7=D0=B1=D0=B8=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BC?= =?UTF-8?q?=D0=BD=D0=BE=D0=B6=D0=B5=D1=81=D1=82=D0=B2=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7e36cc1..18eeefd 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,16 @@ CXX=g++ -CXXFLAGS=-Wall -Wpedantic -ggdb -std=c++17 +CXXFLAGS=-Wall -Wpedantic -O2 -std=c++17 SOURCES := $(wildcard *.cpp) EXECS := $(patsubst %.cpp,%.out,$(SOURCES)) +.PHONY: all clean + all: $(EXECS) %.out: %.cpp $(CXX) $(CXXFLAGS) $< -o $@ + +clean: + $(RM) $(EXECS) + $(RM) -r *.dSYM + -- cgit v1.2.3