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

23 lines
437 B
Makefile
Raw Normal View History

2023-12-31 15:32:46 +01:00
FLAP = ../../_build/default/src/flap.exe
TARGET = retrolix
main:
2023-12-31 18:34:17 +01:00
@echo make interpret
@echo make compilo
interpret:
2023-12-31 15:32:46 +01:00
@for f in $(wildcard *.$(TARGET)); do \
2023-12-31 15:40:23 +01:00
printf "%s: " $$f; \
2023-12-31 15:32:46 +01:00
./$(FLAP) -s $(TARGET) -d true -r true $$f; \
printf "\n"; \
done
2023-12-31 18:34:17 +01:00
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