+cli.o: cli.c uci.h uci_config.h
+
+uci_config.h: FORCE
+ @rm -f "$@.tmp"
+ $(call add_feature,PLUGIN_SUPPORT)
+ $(call add_feature,DEBUG)
+ $(call add_feature,DEBUG_TYPECAST)
+ @if [ \! -f "$@" ] || ! cmp "$@.tmp" "$@" >/dev/null; then \
+ mv "$@.tmp" "$@"; \
+ else \
+ rm -f "$@.tmp"; \
+ fi
+
+uci: cli.o libuci.$(SHLIB_EXT)
+ $(CC) -o $@ $< -L. -luci
+
+uci-static: cli.o libuci.a