diff options
author | Steven Barth <steven@midlink.org> | 2009-02-08 14:01:48 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-02-08 14:01:48 +0000 |
commit | 56d142a1a1b0286b8611040ea47ddf3a9844bb91 (patch) | |
tree | b538774fc3c689230d151247beb31d36227424b7 /libs/nixio/Makefile | |
parent | f52ec227175c9db1bfee95f8a59c7c56d01911d4 (diff) |
nixio linux IO/socket api (incomplete / WIP)
Diffstat (limited to 'libs/nixio/Makefile')
-rw-r--r-- | libs/nixio/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/nixio/Makefile b/libs/nixio/Makefile new file mode 100644 index 000000000..a2ce5dae6 --- /dev/null +++ b/libs/nixio/Makefile @@ -0,0 +1,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 |