diff options
author | Steven Barth <steven@midlink.org> | 2009-03-30 11:27:43 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-03-30 11:27:43 +0000 |
commit | 0ef46dc967b53f09254033027ffc9d6e129e4d4f (patch) | |
tree | 3c575b8ec7fe66406ece2f80be21582f06f79e07 /libs/luanet/Makefile | |
parent | 5396d3115e1acf7abf8ae8ef448b7a55504f30b1 (diff) |
Import luanet library
Relicensed with author's permission
Thanks John
Diffstat (limited to 'libs/luanet/Makefile')
-rw-r--r-- | libs/luanet/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libs/luanet/Makefile b/libs/luanet/Makefile new file mode 100644 index 0000000000..702f866b08 --- /dev/null +++ b/libs/luanet/Makefile @@ -0,0 +1,18 @@ +ifeq ($(CFLAGS),) + MYLDFLAGS ?= -L../../../contrib/uci/dist/usr/lib/ +endif + +include ../../build/module.mk +include ../../build/config.mk +include ../../build/gccconfig.mk + +compile: + make -Csrc \ + CFLAGS="$(CFLAGS) $(FPIC) $(LUA_CFLAGS) $(EXTRA_CFLAGS)" \ + LDFLAGS="$(LDFLAGS)" \ + MYLDFLAGS="$(MYLDFLAGS)" + mkdir -p dist/usr/lib/lua/ + cp src/luanet.so dist/usr/lib/lua + +clean: luaclean + make -Csrc clean |