.PHONY: all suite report clean shell ROOT := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) PDF := $(ROOT)results/system-benchmark-report.pdf all: report shell: nix develop suite: nix develop -c ./scripts/suite.sh report: $(PDF) $(PDF): $(ROOT)report/main.typ $(ROOT)report/data.typ $(ROOT)flake.nix mkdir -p $(ROOT)results nix build $(ROOT)#report -o $(ROOT)results/.report-build cp -L $(ROOT)results/.report-build $(PDF) rm -f $(ROOT)results/.report-build @echo "Wrote $(PDF)" clean: rm -f $(PDF)