Python Library TCP Socket
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516
  1. EXAMPLES = $(wildcard *.py)
  2. LOGFILES = ${EXAMPLES:.py=.log}
  3. .PHONY: all
  4. all: $(LOGFILES)
  5. %server.log: %server.py
  6. python3 $< > $@ &
  7. python3 $(subst server,client,$<) 1> /dev/null
  8. %client.log: %client.py
  9. python3 $(subst client,server,$<) 1> /dev/null&
  10. python3 $< > $@
  11. clean:
  12. rm -f $(LOGFILES)