Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Makefile: added install target (required for LuaRocks)

  • Loading branch information...
commit cbb517fde2b0fa6c5acd2b9b64f7a1426cb5ebb7 1 parent c642fdd
@agladysh agladysh authored committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 Makefile
View
6 Makefile
@@ -27,7 +27,7 @@ else
override CFLAGS += -O2 -DNDEBUG
endif
-.PHONY: prereqs clean
+.PHONY: prereqs clean install
OBJECTS = $(patsubst src/%.c,$(B)/%.o,$(SOURCES))
@@ -46,5 +46,9 @@ prereqs:
clean:
rm -rf $(B)
+install: $(B)/uv.so
+ mkdir -p $(LUA_LIBDIR)
+ cp $(B)/uv.so $(LUA_LIBDIR)
+
deps/libuv/uv.a:
$(MAKE) -C deps/libuv CFLAGS+=-fPIC
Please sign in to comment.
Something went wrong with that request. Please try again.