1 2 3 4 5 6 7 8 9 10 11 12
GPP = gpp CYTHON = cython all: obj/libcoopgamma_native.c obj/libcoopgamma_native.pyx: src/libcoopgamma_native.pyx.gpp @mkdir -p obj $(GPP) -s '$$$$' -i src/libcoopgamma_native.pyx.gpp -o $@ obj/%.c: obj/%.pyx if ! $(CYTHON) -3 -v $< ; then rm $@ ; false ; fi