From 14789bf614534128a4da6a8ceee94c27884690fa Mon Sep 17 00:00:00 2001 From: mc-cat-tty <44820563+mc-cat-tty@users.noreply.github.com> Date: Tue, 21 Dec 2021 06:01:22 +0100 Subject: [PATCH] update Makefile, add run target --- esercitazioni/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/esercitazioni/Makefile b/esercitazioni/Makefile index ae0eb11..1061ae9 100644 --- a/esercitazioni/Makefile +++ b/esercitazioni/Makefile @@ -1,4 +1,9 @@ .SILENT: -all: +build: g++ $(file) -Wall -Werror -pedantic -pedantic-errors + +run: + ./a.out + +all: build run