From 70081f2237a060deb41e282c64e3dd1e03941025 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 14 Mar 2023 14:11:13 +0100 Subject: [PATCH] Only build binaries with make --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0ce8ec8..028bd7b 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,12 @@ BIN=$(addprefix bench6.,$(BENCHMARKS)) DATA=$(addsuffix .csv, $(addprefix data/,$(BENCHMARKS))) PLOT=$(DATA:=.png) -all: $(BIN) $(DATA) $(PLOT) +all: $(BIN) + +clean: + rm -f $(BIN) + +plot: $(BIN) $(DATA) $(PLOT) bench6.%: src/%.c src/common.c $(CC) $(CFLAGS) -o $@ $^