From 358aea47891fb8d9a11c01aa8ed0bec32e0d3099 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 16 Aug 2016 11:34:42 +0200 Subject: Corrections to libcoopgamma_native.pyx.gpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6d39412 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 + -- cgit v1.2.3-70-g09d2