This commit is contained in:
Mylloon 2023-12-31 18:34:17 +01:00
parent 361d8285be
commit 87f270494f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -2,8 +2,21 @@ FLAP = ../../_build/default/src/flap.exe
TARGET = retrolix
main:
@echo make interpret
@echo make compilo
interpret:
@for f in $(wildcard *.$(TARGET)); do \
printf "%s: " $$f; \
./$(FLAP) -s $(TARGET) -d true -r true $$f; \
printf "\n"; \
done
compilo:
@for f in $(wildcard *.$(TARGET)); do \
printf "%s: " $$f; \
./$(FLAP) -t elf empty.retrolix $$f && \
./*.elf; \
rm *.elf 2> /dev/null; \
printf "\n"; \
done