blob: 3d1a91177e1b35b4d188b82c93f813d467d97406 (
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) $(WFLAGS)" \
LDFLAGS="$(LDFLAGS) $(LUA_SHLIBS) -luci" \
MYLDFLAGS="$(MYLDFLAGS)"
mkdir -p dist/usr/bin
cp src/lucittpd dist/usr/bin
clean: luaclean
make -Csrc clean
|