blob: 6d394124221987fef5800ab67989db2545dcaaf2 (
plain) (
tree)
|
|
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
|