mirror of
https://github.com/ebrandi/FDD-book.git
synced 2026-12-06 00:23:30 +00:00
15 lines
203 B
Makefile
15 lines
203 B
Makefile
|
|
# Makefile for the Chapter 14 lab helpers.
|
||
|
|
|
||
|
|
CFLAGS?= -Wall -Wextra -O2
|
||
|
|
PROGS= poll_waiter
|
||
|
|
|
||
|
|
all: $(PROGS)
|
||
|
|
|
||
|
|
poll_waiter: poll_waiter.c
|
||
|
|
$(CC) $(CFLAGS) -o $@ $<
|
||
|
|
|
||
|
|
clean:
|
||
|
|
rm -f $(PROGS)
|
||
|
|
|
||
|
|
.PHONY: all clean
|