projects
/
project
/
relayd.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1715881a1bed7484fa86e6be46a0b0c139543e80
[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
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