From f655df0eb7e539b06965de7c79dbc1c7bc6a5950 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 16 Nov 2022 17:06:16 +0100 Subject: [PATCH] Make the compilation silent so only the execution time is output --- OpenMP/linear-algebra/kernels/atax/Makefile | 3 +++ OpenMP/utilities/common.mk | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/OpenMP/linear-algebra/kernels/atax/Makefile b/OpenMP/linear-algebra/kernels/atax/Makefile index af96f77..1f8a37b 100644 --- a/OpenMP/linear-algebra/kernels/atax/Makefile +++ b/OpenMP/linear-algebra/kernels/atax/Makefile @@ -13,3 +13,6 @@ CFLAGS+= -Wextra CFLAGS+= -O3 # -g3 enables some useful debug things CFLAGS+= -g3 + +# Disable make output +MAKEFLAGS+= --silent \ No newline at end of file diff --git a/OpenMP/utilities/common.mk b/OpenMP/utilities/common.mk index c63387d..afd4996 100644 --- a/OpenMP/utilities/common.mk +++ b/OpenMP/utilities/common.mk @@ -28,10 +28,10 @@ $(EXE) : $(SRC) $(CC) $(CFLAGS) $(INCPATHS) $^ -o $@ $(LDFLAGS) clean : - -rm -vf -vf $(EXE) *~ + -rm -f $(EXE) *~ veryclean : clean - -rm -vf $(DEPS) + -rm -f $(DEPS) run: $(EXE) ./$(EXE)