mirror of
https://github.com/ebrandi/FDD-book.git
synced 2026-12-06 00:23:30 +00:00
19 lines
330 B
Makefile
19 lines
330 B
Makefile
|
|
# 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}
|