python script, curves to compare

This commit is contained in:
2025-05-14 18:41:20 +02:00
parent e2a3a53cca
commit 769eb75763
2 changed files with 113 additions and 6 deletions

View File

@@ -15,18 +15,17 @@ OBJS := $(patsubst $(SRCDIR)/%.c,$(OBJDIR)/%.o,$(SRCS))
# --------------------------------------------------
# Phony targets
# --------------------------------------------------
.PHONY: all sparse clean
.PHONY: all pagerank clean
all: sparse
all: pagerank
sparse: $(OBJDIR)/sparse | $(OBJDIR)
@echo "→ Running sparse"
./$(OBJDIR)/sparse
pagerank: $(OBJDIR)/pagerank | $(OBJDIR)
@echo "→ Build complete: pagerank"
# --------------------------------------------------
# Link
# --------------------------------------------------
$(OBJDIR)/sparse: $(OBJS) $(DATAPATH) | $(OBJDIR)
$(OBJDIR)/pagerank: $(OBJS) $(DATAPATH) | $(OBJDIR)
@echo "→ Copying input data"
cp $(DATAPATH) $(OBJDIR)/input.mtx
@echo "→ Linking $@"