FDD-book/examples/part-03/ch12-synchronization-mechanisms/userland/Makefile

19 lines
330 B
Makefile
Raw Permalink Normal View History

# Makefile for Chapter 12 userland synchronization testers.
PROGS= timeout_tester config_writer
.PHONY: all
all: ${PROGS}
CFLAGS?= -O2 -Wall -Wextra -Wno-unused-parameter
timeout_tester: timeout_tester.c
${CC} ${CFLAGS} -o $@ $<
config_writer: config_writer.c
${CC} ${CFLAGS} -o $@ $<
.PHONY: clean
clean:
rm -f ${PROGS}