improve the reliability of gratuitous arp by sending both request and reply, also...
[project/relayd.git] / Makefile
1 CFLAGS = -Os -Wall -Werror -pedantic --std=gnu99
2 CPPFLAGS = -I.
3 LDFLAGS =
4
5 all: relayd 
6
7 relayd: uloop.o main.o route.o dhcp.o
8         $(CC) -o $@ $^ $(LDFLAGS)
9
10 relayd.h: list.h
11 uloop.c: uloop.h
12 main.c: uloop.h relayd.h
13 route.c: relayd.h
14
15 %.o: %.c
16         $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $^
17
18
19 clean:
20         rm -f relayd *.o