blob: 566b38d0baff56ef259f09e157e83f4b09973f86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
include ../../build/module.mk
include ../../build/config.mk
include ../../build/gccconfig.mk
%.o: %.c
$(COMPILE) $(LUA_CFLAGS) $(FPIC) -c -o $@ $<
compile: src/fastindex.o
mkdir -p dist$(LUCI_INSTALLDIR)
$(LINK) $(SHLIB_FLAGS) -o dist$(LUCI_INSTALLDIR)/fastindex.so src/fastindex.o $(LUA_SHLIBS)
clean:
rm -f src/*.o
|