blob: 94f6e9f59512c5a143ac72ba8be38a1c01ca2497 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
CFLAGS += -Wall -Wextra
LDLIBS := -lev
NET_OBJS := src/client.o src/server.o
OBJS := src/udpastcp.o src/checksum.o $(NET_OBJS)
udpastcp: $(OBJS)
$(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@
# networking code needs aliasing to be efficient
$(NET_OBJS): CFLAGS+=-fno-strict-aliasing -Wno-sign-compare
clean:
$(RM) $(OBJS)
|