This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
compilation/flap/questions/retrolixToX86_64/Makefile
2023-12-31 19:03:23 +01:00

21 lines
417 B
Makefile

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 && \
./$${f%.*}.elf; \
printf "\n"; \
done