named-pipes-services/Makefile
nojhan f74f89734c Cleaner examples
- Use ${CXX} instead of explicit clang in the Makefile.
- More explanations.
- Use socat's fork option instead of a bash loop.
- Adds a run_* script for each example.
- Remove the useless "sleep" option in service2.
2021-08-05 10:23:49 +02:00

11 lines
196 B
Makefile

all: pcat service1 service2
pcat: pcat.cpp
${CXX} pcat.cpp -o pcat
1service1: service1.cpp
${CXX} service1.cpp -o service1
service2: service2.cpp
${CXX} service2.cpp -l pthread -o service2