Makefile 195 B

12345678
  1. CC := gcc
  2. CFLAGS := -Wall -Wextra -O2
  3. PORT := 8081
  4. test: pep
  5. ./pep server 127.0.0.1 "$(PORT)" 2>&1 | head -n 50 & \
  6. (sleep 0.2 && ./pep client 127.0.0.1 "$(PORT)" 2>&1 | head -n 50) & \
  7. wait