From 303c67770a8adb53eca677b23a3e091f2286b830 Mon Sep 17 00:00:00 2001 From: Matthieu Boileau <matthieu.boileau@math.unistra.fr> Date: Mon, 20 Nov 2017 01:16:04 +0100 Subject: [PATCH] Add makefile --- makefile | 10 ++++++++++ run_docker.sh | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 makefile create mode 100755 run_docker.sh diff --git a/makefile b/makefile new file mode 100644 index 0000000..8c5e969 --- /dev/null +++ b/makefile @@ -0,0 +1,10 @@ +.PHONY: clean pythran + +all: pythran + +pythran: + pythran rosenbrock.py -o rosenbrock_pythran.so + +clean: + rm -rf *.so *.pyf *.pyc __pycache__ + diff --git a/run_docker.sh b/run_docker.sh new file mode 100755 index 0000000..d96c56e --- /dev/null +++ b/run_docker.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker run -ti --rm -v $(pwd):/home/euler boileaum/pythran:latest -- GitLab