Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r170:fa167c323433
Date: 2014-12-05 17:25 +0100
http://bitbucket.org/cffi/creflect/changeset/fa167c323433/

Log:    add a Makefile

diff --git a/demo/Makefile b/demo/Makefile
new file mode 100644
--- /dev/null
+++ b/demo/Makefile
@@ -0,0 +1,16 @@
+ALL = zeffir.so libreaddir2-creflect.so libgmp-creflect.so
+
+all: $(ALL)
+
+%-creflect.c: %.crx
+       PYTHONPATH=.. ../bin/creflect $*.crx $*-creflect.c
+
+lib%-creflect.so: %-creflect.c
+       gcc -g -shared -fPIC $*-creflect.c -o lib$*-creflect.so -I../creflect
+
+zeffir.so: ../zeffir/*.h ../zeffir/*.c
+       gcc -g -shared -fPIC ../zeffir/zeffir.c -o zeffir.so 
-I/usr/include/python2.7
+
+
+clean:
+       rm -f $(ALL) readdir2-creflect.c
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to