aboutsummaryrefslogtreecommitdiff
path: root/pow/pywrap
diff options
context:
space:
mode:
Diffstat (limited to 'pow/pywrap')
-rw-r--r--pow/pywrap/Makefile6
-rw-r--r--pow/pywrap/build.py4
-rw-r--r--pow/pywrap/pywrap.c (renamed from pow/pywrap/python.c)0
3 files changed, 5 insertions, 5 deletions
diff --git a/pow/pywrap/Makefile b/pow/pywrap/Makefile
index e065bbe6..7c37faab 100644
--- a/pow/pywrap/Makefile
+++ b/pow/pywrap/Makefile
@@ -1,9 +1,9 @@
# $Id$
-all: python
+all: pywrap
-python: python.c
+pywrap: pywrap.c
python build.py
clean:
- rm -f *.o python
+ rm -f *.o pywrap
diff --git a/pow/pywrap/build.py b/pow/pywrap/build.py
index 0160918f..d514be91 100644
--- a/pow/pywrap/build.py
+++ b/pow/pywrap/build.py
@@ -30,8 +30,8 @@ openssl_dir = os.path.realpath(os.path.join(os.getcwd(), "../../openssl/openssl"
cmd = getvar("CC").split()
cmd.append("-o")
-cmd.append("python")
-cmd.append("python.c")
+cmd.append("pywrap")
+cmd.append("pywrap.c")
cmd.append("-Wl,-rpath,%s" % openssl_dir)
cmd.append("-L%s" % openssl_dir)
diff --git a/pow/pywrap/python.c b/pow/pywrap/pywrap.c
index 10638721..10638721 100644
--- a/pow/pywrap/python.c
+++ b/pow/pywrap/pywrap.c