Willy Tarreau | fc80e30 | 2020-05-27 11:05:33 +0200 | [diff] [blame] | 1 | INCLUDE = -I../../include |
Willy Tarreau | 074d65b | 2015-12-20 23:21:57 +0100 | [diff] [blame] | 2 | |
| 3 | CC = gcc |
| 4 | OPTIMIZE = -O2 |
| 5 | DEFINE = |
Willy Tarreau | 616c1cf | 2019-09-05 09:18:47 +0200 | [diff] [blame] | 6 | OBJS = flags poll |
| 7 | |
| 8 | all: $(OBJS) |
Willy Tarreau | 074d65b | 2015-12-20 23:21:57 +0100 | [diff] [blame] | 9 | |
| 10 | flags: flags.c |
| 11 | $(CC) $(OPTIMIZE) $(DEFINE) $(INCLUDE) -o $@ $^ |
| 12 | |
Willy Tarreau | 616c1cf | 2019-09-05 09:18:47 +0200 | [diff] [blame] | 13 | poll: poll.c |
| 14 | $(CC) $(OPTIMIZE) $(DEFINE) $(INCLUDE) -o $@ $^ |
| 15 | |
Willy Tarreau | 074d65b | 2015-12-20 23:21:57 +0100 | [diff] [blame] | 16 | clean: |
| 17 | rm -f $(OBJS) *.[oas] *~ |