compilo
This commit is contained in:
parent
361d8285be
commit
87f270494f
1 changed files with 13 additions and 0 deletions
|
@ -2,8 +2,21 @@ FLAP = ../../_build/default/src/flap.exe
|
||||||
TARGET = retrolix
|
TARGET = retrolix
|
||||||
|
|
||||||
main:
|
main:
|
||||||
|
@echo make interpret
|
||||||
|
@echo make compilo
|
||||||
|
|
||||||
|
interpret:
|
||||||
@for f in $(wildcard *.$(TARGET)); do \
|
@for f in $(wildcard *.$(TARGET)); do \
|
||||||
printf "%s: " $$f; \
|
printf "%s: " $$f; \
|
||||||
./$(FLAP) -s $(TARGET) -d true -r true $$f; \
|
./$(FLAP) -s $(TARGET) -d true -r true $$f; \
|
||||||
printf "\n"; \
|
printf "\n"; \
|
||||||
done
|
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
|
||||||
|
|
Reference in a new issue