From 3b00199dd228e9dbf35802a94aba869306ce730a Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 26 Feb 2018 20:32:33 +0100 Subject: [PATCH] Let the Python interpreter be specified externally --- examples/linux/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/linux/Makefile b/examples/linux/Makefile index 17e9f0e..ef644d8 100644 --- a/examples/linux/Makefile +++ b/examples/linux/Makefile @@ -1,6 +1,7 @@ CC=gcc CFLAGS=-O3 -static NOSTDLIBFLAGS=-fno-builtin -static -nostdlib -fomit-frame-pointer +PYTHON=python EXAMPLES=basic sindex strncmp arguments ibranch sendmail crackme indexhell helloworld simple_copy simpleassert OTHER_EXAMPLES=nostdlib @@ -29,5 +30,5 @@ simpleassert: simpleassert.c # crackme needs to be generated crackme.c: crackme.py - python crackme.py > $@ + $(PYTHON) crackme.py > $@