Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (13 sloc) 0.366 kb
CC = gcc
CFLAGS = -Ideps/uv/include -Wall -Wextra -g -O0 -fPIC
CFLAGS += $(shell python-config --includes)
LDFLAGS += $(shell python-config --ldflags)
.PHONY = all clean
all: src/uv.o deps/uv/uv.a
$(CC) -shared -o pyuv.so $^
clean:
rm -f src/uv.o pyuv.so
distclean: clean
$(MAKE) -C deps/uv $@
deps/uv/uv.a:
$(MAKE) -C deps/uv CFLAGS="-Wall -Wextra -fPIC"
Jump to Line
Something went wrong with that request. Please try again.