mirror of
https://github.com/ebrandi/FDD-book.git
synced 2026-12-06 08:33:30 +00:00
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
21 lines
371 B
Makefile
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}
|