mirror of
https://github.com/brunoos/luasec.git
synced 2025-07-17 14:29:47 +02:00
LuaSec 20120616 (unofficial) + patches
This commit is contained in:
24
src/luasocket/Makefile
Normal file
24
src/luasocket/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
OBJS= \
|
||||
io.o \
|
||||
buffer.o \
|
||||
timeout.o \
|
||||
usocket.o
|
||||
|
||||
CC=gcc
|
||||
CFLAGS=$(MYCFLAGS) -DLUASOCKET_DEBUG
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
all: libluasocket.a
|
||||
|
||||
libluasocket.a: $(OBJS)
|
||||
ar rcu $@ $(OBJS)
|
||||
ranlib $@
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) libluasocket.a
|
||||
|
||||
buffer.o: buffer.c buffer.h io.h timeout.h
|
||||
io.o: io.c io.h timeout.h
|
||||
timeout.o: timeout.c timeout.h
|
||||
usocket.o: usocket.c socket.h io.h timeout.h usocket.h
|
Reference in New Issue
Block a user