blob: 74dd6ac713e86ffd2e84c9745dddafa9f437f574 [file] [log] [blame]
Willy Tarreaufc80e302020-05-27 11:05:33 +02001INCLUDE = -I../../include
Willy Tarreau074d65b2015-12-20 23:21:57 +01002
3CC = gcc
4OPTIMIZE = -O2
5DEFINE =
Willy Tarreau616c1cf2019-09-05 09:18:47 +02006OBJS = flags poll
7
8all: $(OBJS)
Willy Tarreau074d65b2015-12-20 23:21:57 +01009
10flags: flags.c
11 $(CC) $(OPTIMIZE) $(DEFINE) $(INCLUDE) -o $@ $^
12
Willy Tarreau616c1cf2019-09-05 09:18:47 +020013poll: poll.c
14 $(CC) $(OPTIMIZE) $(DEFINE) $(INCLUDE) -o $@ $^
15
Willy Tarreau074d65b2015-12-20 23:21:57 +010016clean:
17 rm -f $(OBJS) *.[oas] *~