blob: 702f866b08ec8d01f56c0aac48a23dd6ccbf3d27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|