Commit bb088c2a authored by Kirill Smelkov's avatar Kirill Smelkov

Demos: pyrexc -> cython

parent 97f8f9de
...@@ -4,7 +4,7 @@ PYINCLUDE = \ ...@@ -4,7 +4,7 @@ PYINCLUDE = \
-I$(PYHOME)/$(ARCH)/include/python2.2 -I$(PYHOME)/$(ARCH)/include/python2.2
%.c: %.pyx %.c: %.pyx
../bin/pyrexc $< ../bin/cython $<
%.o: %.c %.o: %.c
gcc -c -fPIC $(PYINCLUDE) $< gcc -c -fPIC $(PYINCLUDE) $<
......
...@@ -9,7 +9,7 @@ PYLIB = -L$(PYARCH)/lib/python$(PYVERSION)/config \ ...@@ -9,7 +9,7 @@ PYLIB = -L$(PYARCH)/lib/python$(PYVERSION)/config \
-ldl -lpthread -lutil -lm -ldl -lpthread -lutil -lm
%.c: %.pyx %.c: %.pyx
../../bin/pyrexc $< ../../bin/cython $<
%.o: %.c %.o: %.c
gcc -c -fPIC $(PYINCLUDE) $< gcc -c -fPIC $(PYINCLUDE) $<
......
...@@ -8,7 +8,7 @@ CFLAGS = $(PYINCLUDE) /Ox /W3 /GX -nologo ...@@ -8,7 +8,7 @@ CFLAGS = $(PYINCLUDE) /Ox /W3 /GX -nologo
.SUFFIXES: .exe .dll .obj .c .cpp .pyx .SUFFIXES: .exe .dll .obj .c .cpp .pyx
.pyx.c: .pyx.c:
$(PYHOME)\Python.exe ../../pyrexc.py $< $(PYHOME)\Python.exe ../../cython.py $<
all: main.exe all: main.exe
......
...@@ -9,7 +9,7 @@ PYLIB = -L$(PYARCH)/lib/python$(PYVERSION)/config \ ...@@ -9,7 +9,7 @@ PYLIB = -L$(PYARCH)/lib/python$(PYVERSION)/config \
-ldl -lpthread -lutil -lm -ldl -lpthread -lutil -lm
%.c: %.pyx %.c: %.pyx
../../bin/pyrexc $< ../../bin/cython $<
%.o: %.c %.o: %.c
gcc -c -fPIC $(PYINCLUDE) $< gcc -c -fPIC $(PYINCLUDE) $<
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment