mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
12 lines
280 B
Makefile
12 lines
280 B
Makefile
include ../../build/config.mk
|
|
include ../../build/module.mk
|
|
|
|
%.o: %.c
|
|
$(COMPILE) $(LUA_CFLAGS) $(FPIC) -c -o $@ $<
|
|
|
|
compile: src/luci_cutil.o
|
|
mkdir -p dist$(LUCI_LIBRARYDIR)
|
|
$(LINK) $(SHLIB_FLAGS) -o dist$(LUCI_LIBRARYDIR)/cutil.so src/luci_cutil.o
|
|
|
|
clean: luaclean
|
|
rm src/*.o
|