FDD-book/examples/part-03/ch11-concurrency/userland/Makefile
Edson Brandi 6e6dac94fe Add book companion files under examples/
Organize companion code and materials by book part:

  part-01/      Foundations
  part-02/      Kernel & driver fundamentals
  part-03/      Character & block devices
  part-04/      Networking & storage
  part-05/      Buses & advanced topics
  part-06/      Debugging & performance
  part-07/      Real-world drivers
  appendices/   Supplementary material
  README.md     Overview and build instructions
2026-04-25 16:51:00 +00:00

21 lines
371 B
Makefile

# Makefile for Chapter 11 userland concurrency testers.
PROGS= mp_stress mt_reader lat_tester
.PHONY: all
all: ${PROGS}
CFLAGS?= -O2 -Wall -Wextra -Wno-unused-parameter
mp_stress: mp_stress.c
${CC} ${CFLAGS} -o $@ $<
mt_reader: mt_reader.c
${CC} ${CFLAGS} -pthread -o $@ $<
lat_tester: lat_tester.c
${CC} ${CFLAGS} -o $@ $<
.PHONY: clean
clean:
rm -f ${PROGS}