22 lines
437 B
Makefile
22 lines
437 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 && \
|
|
./*.elf; \
|
|
rm *.elf 2> /dev/null; \
|
|
printf "\n"; \
|
|
done
|