build: split into luci and luci-addons packages
[project/luci.git] / libs / fastindex / Makefile
1 include ../../build/module.mk
2 include ../../build/config.mk
3 include ../../build/gccconfig.mk
4
5 %.o: %.c
6         $(COMPILE) $(LUA_CFLAGS) $(FPIC) -c -o $@ $< 
7
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)
11
12 clean:
13         rm -f src/*.o