build before test
This commit is contained in:
parent
9f98f54fc8
commit
8b0117af46
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
Reference in a new issue