Debian Codegraph @

src/luasocket/Makefile

raw
1 OBJS= \
2 io.o \
3 buffer.o \
4 timeout.o \
5 usocket.o
6
7 CC ?= cc
8 CFLAGS += $(MYCFLAGS) -DLUASOCKET_DEBUG
9 AR ?= ar
10 RANLIB ?= ranlib
11
12 .PHONY: all clean
13
14 all: libluasocket.a
15
16 libluasocket.a: $(OBJS)
17 $(AR) rcu $@ $(OBJS)
18 $(RANLIB) $@
19
20 clean:
21 rm -f $(OBJS) libluasocket.a
22
23 buffer.o: buffer.c buffer.h io.h timeout.h
24 io.o: io.c io.h timeout.h
25 timeout.o: timeout.c timeout.h
26 usocket.o: usocket.c socket.h io.h timeout.h usocket.h