4 CYTHON
:= cython
--convert-range
7 $(shell $(PYTHON
)-config
--includes
) \
8 $(shell pkg-config glib-2.0
--cflags)
12 CFLAGS
+= -g
-O0
-fPIC
# -O3
15 all : csympy.so sympy_pyx.so
25 $(CC
) $(CFLAGS
) $(CPPFLAGS
) -c
-o
$@
$<
29 $(CC
) $(LDFLAGS
) -shared
$+ -o
$@
$(LIBS
)
31 # keep those *.o and *.so files
35 rm -f
*.so
*.pyd
*.o csympy.c csympy_api.h