aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-05-21 02:41:51 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-05-21 02:41:51 +0000
commit08176c4702d9fbf6a8b2f42b1633920cdd927fc4 (patch)
tree19be9b8b160a62377ca64cc0945922b3f106788c /README
parent4c931544631a8968cd44030940cbae071bed0e61 (diff)
added and updated comments
svn path=/trunk/externals/hcs/hid/; revision=3047
Diffstat (limited to 'README')
-rw-r--r--README56
1 files changed, 56 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..831d456
--- /dev/null
+++ b/README
@@ -0,0 +1,56 @@
+
+BINARIES
+--------
+
+There are two included binaries:
+
+hid.pd_darwin = Darwin/PowerPC and Mac OS X
+hid.pd_linux = Linux/PowerPC
+
+
+
+COMPILING
+---------
+
+The compiler needs to know where the Pd source is to find the headers, and the
+linker needs to know where the Pd binary is to check symbols. You can either
+set these on the command line or edit the Makefile
+
+ make INCLUDE=/path/to/pd/src PDEXECUTABLE=/path/to/pd/bin/pd
+
+On GNU/Linux, this is likely to look like:
+
+ make INCLUDE=/usr/local/src/pd-0.38-2/src PDEXECUTABLE=/usr/local/bin/pd
+
+On Darwin/Mac OS X, this is like to look like:
+
+ make INCLUDE=/usr/local/src/pd/src PDEXECUTABLE=/Applications/Pd.app/Contents/Resources/bin/pd
+
+
+
+COMPILING A DEBUG VERSION
+-------------------------
+
+To compile a debug version, edit these lines in hid.c (about line 32):
+
+//#define DEBUG(x)
+#define DEBUG(x) x
+
+Swap the commented lines so it looks like the lines above then recompile.
+
+
+INSTALL
+-------
+
+To install, you can add these lines to your .pdrc:
+
+-path /path/to/hid-0.5
+-helppath /path/to/hid-0.5
+
+Or you can copy the files to another place:
+
+mv *-help.pd examples/*.pd /path/to/doc/5.reference
+mv *.pd *.pd_* /path/to/extra
+
+
+.hc