From 6cb1e8fe49b437a4e098e0673479ef7a615b036a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Guti=C3=A9rrez=20Alonso?= Date: Fri, 11 Feb 2022 18:46:42 +0100 Subject: [PATCH] Added release and debug options with optimizations --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3799a88..0a070e9 100644 --- a/Makefile +++ b/Makefile @@ -5,5 +5,10 @@ CC = g++ OBJ_NAME = mine -all : - $(CC) $(OBJS) -std=c++11 -o $(OBJ_NAME) +all : release + +release: + $(CC) $(OBJS) -std=c++11 -O3 -o $(OBJ_NAME) + +debug: + $(CC) $(OBJS) -std=c++11 -O0 -o $(OBJ_NAME) \ No newline at end of file