From 8b0117af46066b88f00ebd493118ebb3ac735cbc Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 31 Dec 2023 20:03:10 +0100 Subject: [PATCH] build before test --- flap/questions/retrolixToX86_64/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/flap/questions/retrolixToX86_64/Makefile b/flap/questions/retrolixToX86_64/Makefile index 9c4324e..f32401e 100644 --- a/flap/questions/retrolixToX86_64/Makefile +++ b/flap/questions/retrolixToX86_64/Makefile @@ -5,17 +5,20 @@ main: @echo make interpret @echo make compilo -interpret: +build: + @cd ../.. && dune build --display=quiet + +interpret: build @for f in $(wildcard *.$(TARGET)); do \ printf "%s: " $$f; \ ./$(FLAP) -s $(TARGET) -d true -r true $$f; \ printf "\n"; \ done -compilo: +compilo: build @for f in $(wildcard *.$(TARGET)); do \ printf "%s: " $$f; \ - ./$(FLAP) -t elf empty.retrolix $$f && \ + ./$(FLAP) -t elf $$f && \ ./$${f%.*}.elf; \ printf "\n"; \ done