1 include ../../build/module.mk
2 include ../../build/config.mk
3 include ../../build/gccconfig.mk
6 $(COMPILE) $(LUA_CFLAGS) $(FPIC) -c -o $@ $<
8 compile: src/fastindex.o
9 mkdir -p dist$(LUCI_LIBRARYDIR)
10 $(LINK) $(SHLIB_FLAGS) -o dist$(LUCI_LIBRARYDIR)/fastindex.so src/fastindex.o $(LUA_SHLIBS)