123456789101112131415 |
- EXAMPLES = $(wildcard *.py)
- LOGFILES = ${EXAMPLES:.py=.log}
-
- .PHONY: all
- all: $(LOGFILES)
-
- %server.log: %server.py
- @echo -n
-
- %client.log: %client.py
- python3 $(subst client,server,$<) 1> /dev/null&
- python3 $< > $@
-
- clean:
- rm -f $(LOGFILES)
|