blob: a2ce5dae688fe7e58d6239d88f961caf569720be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
include ../../build/config.mk
include ../../build/module.mk
include ../../build/gccconfig.mk
%.o: %.c
$(COMPILE) $(LUA_CFLAGS) $(FPIC) -c -o $@ $<
compile: src/nixio.o src/socket.o src/sockopt.o src/bind.o src/address.o src/select.o
$(LINK) $(SHLIB_FLAGS) -o src/nixio.so src/*.o
mkdir -p dist$(LUA_LIBRARYDIR)
cp src/nixio.so dist$(LUA_LIBRARYDIR)/nixio.so
clean: luaclean
rm -f src/*.o src/*.so
|