2021-01-03 21:17:15 +01:00
|
|
|
EXAMPLES = $(wildcard *.py)
|
|
|
|
LOGFILES = ${EXAMPLES:.py=.log}
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: $(LOGFILES)
|
|
|
|
|
|
|
|
%.log: %.py
|
|
|
|
python3 $< > $@
|
|
|
|
|
|
|
|
clean:
|
2023-06-08 08:22:32 +02:00
|
|
|
@echo -e "\e[1m * Example logs...\e[0m"
|
2021-03-08 02:04:35 +01:00
|
|
|
@rm -f $(LOGFILES)
|