From e24ab6e4f03a2b5d738d8db919351f9c19dae09a Mon Sep 17 00:00:00 2001 From: fredrikr79 Date: Thu, 11 Sep 2025 12:19:17 +0200 Subject: [PATCH] ex2: fix benchmark --- exercise2/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exercise2/Makefile b/exercise2/Makefile index fc8584d..d0d7c50 100644 --- a/exercise2/Makefile +++ b/exercise2/Makefile @@ -12,16 +12,16 @@ NPROC := 3 all: clean parallel show -$(TARGET): $(SRC) +$(OUT): $(SRC) $(CC) $(CFLAGS) -o $(OUT) $< -run: $(TARGET) - cd $(OUTDIR) && ./$< $(ARGS) +run: $(OUT) + cd $(OUTDIR) && ./$(TARGET) $(ARGS) clean: rm -rf $(OUTDIR)/* -time: $(TARGET) +time: $(OUT) python3 bench.py './$(OUT) 0' $(NBENCH) parallel: $(SRC)