aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile245
-rw-r--r--SConscript9
-rw-r--r--doc/pmpd.sxwbin255788 -> 0 bytes
-rw-r--r--examples/00_pmpd.pd (renamed from exemples/00_pmpd.pd)0
-rw-r--r--examples/01_basics.pd (renamed from exemples/01_basics.pd)0
-rw-r--r--examples/02_string.pd (renamed from exemples/02_string.pd)0
-rw-r--r--examples/03_chaos2D.pd (renamed from exemples/03_chaos2D.pd)0
-rw-r--r--examples/04_3D_exemple.pd (renamed from exemples/04_3D_exemple.pd)0
-rw-r--r--examples/05_corde2D.pd (renamed from exemples/05_corde2D.pd)0
-rw-r--r--examples/06_pyramide3D.pd (renamed from exemples/06_pyramide3D.pd)0
-rw-r--r--examples/07_corde3D.pd (renamed from exemples/07_corde3D.pd)0
-rw-r--r--examples/08_ball2D.pd (renamed from exemples/08_ball2D.pd)0
-rw-r--r--examples/09_tutorial2D.pd (renamed from exemples/09_tutorial2D.pd)0
-rw-r--r--examples/10_game.pd (renamed from exemples/10_game.pd)0
-rw-r--r--examples/11_comportement.pd (renamed from exemples/11_comportement.pd)0
-rw-r--r--examples/12_exitation.pd (renamed from exemples/12_exitation.pd)0
-rw-r--r--examples/13_plane3D.pd (renamed from exemples/13_plane3D.pd)0
-rw-r--r--examples/14_MP_curve3d.pd (renamed from exemples/14_MP_curve3d.pd)0
-rw-r--r--examples/15_constant_force_field.pd (renamed from exemples/15_constant_force_field.pd)0
-rw-r--r--examples/16_name_and_interactors.pd (renamed from exemples/16_name_and_interactors.pd)0
-rw-r--r--examples/17_rnd_mouvmnt_and_obstacles.pd (renamed from exemples/17_rnd_mouvmnt_and_obstacles.pd)0
-rw-r--r--examples/18_flipper.pd (renamed from exemples/18_flipper.pd)0
-rw-r--r--examples/19_vertex.pd (renamed from exemples/19_vertex.pd)0
-rw-r--r--examples/20_moving_vertex.pd (renamed from exemples/20_moving_vertex.pd)0
-rw-r--r--examples/21_fluid_circulation_cylinder.pd (renamed from exemples/21_fluid_circulation_cylinder.pd)0
-rw-r--r--examples/22_gaz_molecules.pd (renamed from exemples/22_gaz_molecules.pd)0
-rw-r--r--examples/23_test.pd (renamed from exemples/23_test.pd)0
-rw-r--r--examples/24_sand.pd (renamed from exemples/24_sand.pd)0
-rw-r--r--examples/25_sand2.pd (renamed from exemples/25_sand2.pd)0
-rw-r--r--examples/26_sand3.pd (renamed from exemples/26_sand3.pd)0
-rw-r--r--examples/27_tLia.pd (renamed from exemples/27_tLia.pd)0
-rw-r--r--examples/28_Lia.pd (renamed from exemples/28_Lia.pd)0
-rw-r--r--examples/29_aglom.pd (renamed from exemples/29_aglom.pd)0
-rw-r--r--examples/30_falling_aglom.pd (renamed from exemples/30_falling_aglom.pd)0
-rw-r--r--examples/31_paste.pd (renamed from exemples/31_paste.pd)0
-rw-r--r--examples/32_Kelvin_Helmoltz_instability.pd (renamed from exemples/32_Kelvin_Helmoltz_instability.pd)0
-rw-r--r--examples/33_vorticity_ellipse.pd (renamed from exemples/33_vorticity_ellipse.pd)0
-rw-r--r--examples/34_cigarette_smoke.pd (renamed from exemples/34_cigarette_smoke.pd)0
-rw-r--r--examples/35_gravitation.pd (renamed from exemples/35_gravitation.pd)0
-rw-r--r--examples/36_3D_interactors.pd (renamed from exemples/36_3D_interactors.pd)0
-rw-r--r--examples/37_hollywood_planette_explosion.pd (renamed from exemples/37_hollywood_planette_explosion.pd)0
-rw-r--r--examples/38_elastique_membrane_on_a_sphere.pd (renamed from exemples/38_elastique_membrane_on_a_sphere.pd)0
-rw-r--r--examples/39_blob.pd (renamed from exemples/39_blob.pd)0
-rw-r--r--examples/40_i3D.pd (renamed from exemples/40_i3D.pd)0
-rw-r--r--examples/41_morfing.pd (renamed from exemples/41_morfing.pd)0
-rw-r--r--examples/42_tentacule.pd (renamed from exemples/42_tentacule.pd)0
-rw-r--r--examples/43_game.pd (renamed from exemples/43_game.pd)0
-rw-r--r--examples/44_flag.pd (renamed from exemples/44_flag.pd)0
-rw-r--r--examples/45_newWave.pd (renamed from exemples/45_newWave.pd)0
-rw-r--r--examples/46_non_linear.pd (renamed from exemples/46_non_linear.pd)0
-rw-r--r--examples/47_scann_synth.pd (renamed from exemples/47_scann_synth.pd)0
-rw-r--r--examples/48_pmpd.pd (renamed from exemples/48_pmpd.pd)0
-rw-r--r--examples/49_pmpd~.pd (renamed from exemples/49_pmpd~.pd)0
-rw-r--r--examples/50-simple_oscilator~.pd (renamed from exemples/50-simple_oscilator~.pd)0
-rw-r--r--examples/51_string~.pd (renamed from exemples/51_string~.pd)0
-rw-r--r--examples/aglom.pd (renamed from exemples/aglom.pd)0
-rw-r--r--examples/aglom2.pd (renamed from exemples/aglom2.pd)0
-rw-r--r--examples/aglom3.pd (renamed from exemples/aglom3.pd)0
-rw-r--r--examples/aglom4.pd (renamed from exemples/aglom4.pd)0
-rw-r--r--examples/blob.pd (renamed from exemples/blob.pd)0
-rw-r--r--examples/ch_gemwin.pd (renamed from exemples/ch_gemwin.pd)0
-rw-r--r--examples/ch_uzi.pd (renamed from exemples/ch_uzi.pd)0
-rw-r--r--examples/constructor.pd (renamed from exemples/constructor.pd)0
-rw-r--r--examples/explose1.pd (renamed from exemples/explose1.pd)0
-rw-r--r--examples/explose2.pd (renamed from exemples/explose2.pd)0
-rw-r--r--examples/fluide_mass.pd (renamed from exemples/fluide_mass.pd)0
-rw-r--r--examples/fluide_mass2.pd (renamed from exemples/fluide_mass2.pd)0
-rw-r--r--examples/fluide_mass3.pd (renamed from exemples/fluide_mass3.pd)0
-rw-r--r--examples/fluide_mass4.pd (renamed from exemples/fluide_mass4.pd)0
-rw-r--r--examples/fluide_mass5.pd (renamed from exemples/fluide_mass5.pd)0
-rw-r--r--examples/fluide_mass6.pd (renamed from exemples/fluide_mass6.pd)0
-rw-r--r--examples/fluide_masse.pd (renamed from exemples/fluide_masse.pd)0
-rw-r--r--examples/fluide_masse2.pd (renamed from exemples/fluide_masse2.pd)0
-rw-r--r--examples/fluide_masse3.pd (renamed from exemples/fluide_masse3.pd)0
-rw-r--r--examples/fluide_masse4.pd (renamed from exemples/fluide_masse4.pd)0
-rw-r--r--examples/fluide_masse5.pd (renamed from exemples/fluide_masse5.pd)0
-rw-r--r--examples/fluide_masse6.pd (renamed from exemples/fluide_masse6.pd)0
-rw-r--r--examples/game_line.pd (renamed from exemples/game_line.pd)0
-rw-r--r--examples/gemLia.pd (renamed from exemples/gemLia.pd)0
-rw-r--r--examples/gemLia2.pd (renamed from exemples/gemLia2.pd)0
-rw-r--r--examples/gemMasse.pd (renamed from exemples/gemMasse.pd)0
-rw-r--r--examples/gemMasse2.pd (renamed from exemples/gemMasse2.pd)0
-rw-r--r--examples/gemMasse3.pd (renamed from exemples/gemMasse3.pd)0
-rw-r--r--examples/i3D.pd (renamed from exemples/i3D.pd)0
-rw-r--r--examples/i3D2.pd (renamed from exemples/i3D2.pd)0
-rw-r--r--examples/mass_link.pd (renamed from exemples/mass_link.pd)0
-rw-r--r--examples/mass_link2.pd (renamed from exemples/mass_link2.pd)0
-rw-r--r--examples/mass_link3.pd (renamed from exemples/mass_link3.pd)0
-rw-r--r--examples/mountain.pd (renamed from exemples/mountain.pd)0
-rw-r--r--examples/pd_lia.pd (renamed from exemples/pd_lia.pd)0
-rw-r--r--examples/pd_lia2.pd (renamed from exemples/pd_lia2.pd)0
-rw-r--r--examples/pd_link.pd (renamed from exemples/pd_link.pd)0
-rw-r--r--examples/pd_link2.pd (renamed from exemples/pd_link2.pd)0
-rw-r--r--examples/pd_mass.pd (renamed from exemples/pd_mass.pd)0
-rw-r--r--examples/pd_mass2.pd (renamed from exemples/pd_mass2.pd)0
-rw-r--r--examples/pd_masse.pd (renamed from exemples/pd_masse.pd)0
-rw-r--r--examples/pd_masse2.pd (renamed from exemples/pd_masse2.pd)0
-rw-r--r--examples/rain.pd (renamed from exemples/rain.pd)0
-rw-r--r--examples/rain1.pd (renamed from exemples/rain1.pd)0
-rw-r--r--examples/sand.pd (renamed from exemples/sand.pd)0
-rw-r--r--examples/smoke.pd (renamed from exemples/smoke.pd)0
-rw-r--r--examples/smoke1.pd (renamed from exemples/smoke1.pd)0
-rw-r--r--examples/smoke_vortex.pd (renamed from exemples/smoke_vortex.pd)0
-rw-r--r--examples/tut_link.pd (renamed from exemples/tut_link.pd)0
-rw-r--r--examples/tut_mass.pd (renamed from exemples/tut_mass.pd)0
-rw-r--r--examples/tut_masse.pd (renamed from exemples/tut_masse.pd)0
-rw-r--r--examples/vortex.pd (renamed from exemples/vortex.pd)0
-rw-r--r--examples/vortex2.pd (renamed from exemples/vortex2.pd)0
-rw-r--r--iAmbient2D-help.pd (renamed from help/iAmbient2D-help.pd)0
-rw-r--r--iAmbient2D.c (renamed from src/iAmbient2D.c)0
-rw-r--r--iAmbient3D-help.pd (renamed from help/iAmbient3D-help.pd)0
-rw-r--r--iAmbient3D.c (renamed from src/iAmbient3D.c)0
-rw-r--r--iCircle2D-help.pd (renamed from help/iCircle2D-help.pd)0
-rw-r--r--iCircle2D.c (renamed from src/iCircle2D.c)0
-rw-r--r--iCircle3D-help.pd (renamed from help/iCircle3D-help.pd)0
-rw-r--r--iCircle3D.c (renamed from src/iCircle3D.c)0
-rw-r--r--iCylinder3D-help.pd (renamed from help/iCylinder3D-help.pd)0
-rw-r--r--iCylinder3D.c (renamed from src/iCylinder3D.c)0
-rw-r--r--iLine2D-help.pd (renamed from help/iLine2D-help.pd)0
-rw-r--r--iLine2D.c (renamed from src/iLine2D.c)0
-rw-r--r--iPlane3D-help.pd (renamed from help/iPlane3D-help.pd)0
-rw-r--r--iPlane3D.c (renamed from src/iPlane3D.c)0
-rw-r--r--iSeg2D-help.pd (renamed from help/iSeg2D-help.pd)0
-rw-r--r--iSeg2D.c (renamed from src/iSeg2D.c)0
-rw-r--r--iSphere3D-help.pd (renamed from help/iSphere3D-help.pd)0
-rw-r--r--iSphere3D.c (renamed from src/iSphere3D.c)0
-rw-r--r--link-help.pd (renamed from help/link-help.pd)0
-rw-r--r--link.c (renamed from src/link.c)0
-rw-r--r--link2D-help.pd (renamed from help/link2D-help.pd)0
-rw-r--r--link2D.c (renamed from src/link2D.c)0
-rw-r--r--link3D-help.pd (renamed from help/link3D-help.pd)0
-rw-r--r--link3D.c (renamed from src/link3D.c)0
-rw-r--r--mass-help.pd (renamed from help/mass-help.pd)0
-rw-r--r--mass.c (renamed from src/mass.c)0
-rw-r--r--mass2D-help.pd (renamed from help/mass2D-help.pd)0
-rw-r--r--mass2D.c (renamed from src/mass2D.c)0
-rw-r--r--mass3D-help.pd (renamed from help/mass3D-help.pd)0
-rw-r--r--mass3D.c (renamed from src/mass3D.c)0
-rw-r--r--package.txt3
-rw-r--r--pmpd-help.pd (renamed from help/pmpd-help.pd)0
-rw-r--r--pmpd.c (renamed from src/pmpd.c)0
-rw-r--r--pmpd.pdf (renamed from doc/pmpd.pdf/pmpd.pdf)0
-rw-r--r--pmpd.sxw (renamed from doc/pmpd.pdf/pmpd.sxw)bin255788 -> 255788 bytes
-rw-r--r--pmpd~-help.pd (renamed from help/pmpd~-help.pd)0
-rw-r--r--pmpd~.c (renamed from src/pmpd~.c)0
-rw-r--r--src/makefile95
-rw-r--r--tCircle2D-help.pd (renamed from help/tCircle2D-help.pd)0
-rw-r--r--tCircle2D.c (renamed from src/tCircle2D.c)0
-rw-r--r--tCircle3D-help.pd (renamed from help/tCircle3D-help.pd)0
-rw-r--r--tCircle3D.c (renamed from src/tCircle3D.c)0
-rw-r--r--tCube3D-help.pd (renamed from help/tCube3D-help.pd)0
-rw-r--r--tCube3D.c (renamed from src/tCube3D.c)0
-rw-r--r--tCylinder3D-help.pd (renamed from help/tCylinder3D-help.pd)0
-rw-r--r--tCylinder3D.c (renamed from src/tCylinder3D.c)0
-rw-r--r--tLine2D-help.pd (renamed from help/tLine2D-help.pd)0
-rw-r--r--tLine2D.c (renamed from src/tLine2D.c)0
-rw-r--r--tLink2D-help.pd (renamed from help/tLink2D-help.pd)0
-rw-r--r--tLink2D.c (renamed from src/tLink2D.c)0
-rw-r--r--tLink3D-help.pd (renamed from help/tLink3D-help.pd)0
-rw-r--r--tLink3D.c (renamed from src/tLink3D.c)0
-rw-r--r--tPlane3D-help.pd (renamed from help/tPlane3D-help.pd)0
-rw-r--r--tPlane3D.c (renamed from src/tPlane3D.c)0
-rw-r--r--tSeg2D-help.pd (renamed from help/tSeg2D-help.pd)0
-rw-r--r--tSeg2D.c (renamed from src/tSeg2D.c)0
-rw-r--r--tSphere3D-help.pd (renamed from help/tSphere3D-help.pd)0
-rw-r--r--tSphere3D.c (renamed from src/tSphere3D.c)0
-rw-r--r--tSquare2D-help.pd (renamed from help/tSquare2D-help.pd)0
-rw-r--r--tSquare2D.c (renamed from src/tSquare2D.c)0
168 files changed, 245 insertions, 107 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..af5b760
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,245 @@
+# To use this Makefile for your project, first put the name of your library in
+# LIBRARY_NAME variable. The folder for your project should have the same name
+# as your library.
+LIBRARY_NAME = pmpd
+LIBRARY_VERSION = 0.09
+
+# Next, add your .c source files to the SOURCES variable. The help files will
+# be included automatically
+SOURCES = iAmbient2D.c iAmbient3D.c iCircle2D.c iCircle3D.c iCylinder3D.c iLine2D.c iPlane3D.c iSeg2D.c iSphere3D.c link.c link2D.c link3D.c mass.c mass2D.c mass3D.c pmpd~.c tCircle2D.c tCircle3D.c tCube3D.c tCylinder3D.c tLine2D.c tLink2D.c tLink3D.c tPlane3D.c tSeg2D.c tSphere3D.c tSquare2D.c
+
+# For objects that only build on certain platforms, add those to the SOURCES
+# line for the right platforms.
+SOURCES_android =
+SOURCES_cygwin =
+SOURCES_macosx =
+SOURCES_iphoneos =
+SOURCES_linux =
+SOURCES_windows =
+
+# list all pd objects (i.e. myobject.pd) files here, and their helpfiles will
+# be included automatically
+PDOBJECTS =
+
+# if you want to include any other files in the source and binary tarballs,
+# list them here. This can be anything from header files, READMEs, example
+# patches, documentation, etc.
+EXTRA_DIST = pmpd.c pmpd.pdf pmpd.sxw
+
+
+
+#------------------------------------------------------------------------------#
+#
+# you shouldn't need to edit anything below here, if we did it right :)
+#
+#------------------------------------------------------------------------------#
+
+# where Pd lives
+PD_PATH = ../../pd
+# where to install the library
+prefix = /usr/local
+libdir = $(prefix)/lib
+pkglibdir = $(libdir)/pd-externals
+objectsdir = $(pkglibdir)
+
+
+INSTALL = install
+INSTALL_FILE = $(INSTALL) -p -m 644
+INSTALL_DIR = $(INSTALL) -p -m 755 -d
+
+CFLAGS = -DPD -I$(PD_PATH)/src -Wall -W -g
+LDFLAGS =
+LIBS =
+ALLSOURCES := $(SOURCES) $(SOURCES_android) $(SOURCES_cygwin) $(SOURCES_macosx) \
+ $(SOURCES_iphoneos) $(SOURCES_linux) $(SOURCES_windows)
+
+UNAME := $(shell uname -s)
+ifeq ($(UNAME),Darwin)
+ CPU := $(shell uname -p)
+ ifeq ($(CPU),arm) # iPhone/iPod Touch
+ SOURCES += $(SOURCES_macosx)
+ EXTENSION = pd_darwin
+ OS = iphoneos
+ IPHONE_BASE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
+ CC=$(IPHONE_BASE)/gcc
+ CPP=$(IPHONE_BASE)/cpp
+ CXX=$(IPHONE_BASE)/g++
+ ISYSROOT = -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk
+ IPHONE_CFLAGS = -miphoneos-version-min=3.0 $(ISYSROOT) -arch armv6
+ OPT_CFLAGS = -fast -funroll-loops -fomit-frame-pointer
+ CFLAGS := $(IPHONE_CFLAGS) $(OPT_CFLAGS) $(CFLAGS) \
+ -I/Applications/Pd-extended.app/Contents/Resources/include
+ LDFLAGS += -arch armv6 -bundle -undefined dynamic_lookup $(ISYSROOT)
+ LIBS += -lc
+ STRIP = strip -x
+ DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION)
+ DISTBINDIR=$(DISTDIR)-$(OS)
+ else # Mac OS X
+ SOURCES += $(SOURCES_macosx)
+ EXTENSION = pd_darwin
+ OS = macosx
+ OPT_CFLAGS = -ftree-vectorize -ftree-vectorizer-verbose=2 -fast
+ FAT_FLAGS = -arch i386 -arch ppc -mmacosx-version-min=10.4
+ CFLAGS += $(FAT_FLAGS) -fPIC -I/sw/include \
+ -I/Applications/Pd-extended.app/Contents/Resources/include
+ LDFLAGS += $(FAT_FLAGS) -bundle -undefined dynamic_lookup -L/sw/lib
+ # if the 'pd' binary exists, check the linking against it to aid with stripping
+ LDFLAGS += $(shell test -e $(PD_PATH)/bin/pd && echo -bundle_loader $(PD_PATH)/bin/pd)
+ LIBS += -lc
+ STRIP = strip -x
+ DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION)
+ DISTBINDIR=$(DISTDIR)-$(OS)
+ endif
+endif
+ifeq ($(UNAME),Linux)
+ SOURCES += $(SOURCES_linux)
+ EXTENSION = pd_linux
+ OS = linux
+ OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
+ CFLAGS += -fPIC
+ LDFLAGS += -Wl,--export-dynamic -shared -fPIC
+ LIBS += -lc
+ STRIP = strip --strip-unneeded -R .note -R .comment
+ DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION)
+ DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m)
+endif
+ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME)))
+ SOURCES += $(SOURCES_cygwin)
+ EXTENSION = dll
+ OS = cygwin
+ OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
+ CFLAGS +=
+ LDFLAGS += -Wl,--export-dynamic -shared -L$(PD_PATH)/src
+ LIBS += -lc -lpd
+ STRIP = strip --strip-unneeded -R .note -R .comment
+ DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION)
+ DISTBINDIR=$(DISTDIR)-$(OS)
+endif
+ifeq (MINGW,$(findstring MINGW,$(UNAME)))
+ SOURCES += $(SOURCES_windows)
+ EXTENSION = dll
+ OS = windows
+ OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -march=i686 -mtune=pentium4
+ WINDOWS_HACKS = -D'O_NONBLOCK=1'
+ CFLAGS += -mms-bitfields $(WINDOWS_HACKS)
+ LDFLAGS += -s -shared -Wl,--enable-auto-import
+ LIBS += -L$(PD_PATH)/src -L$(PD_PATH)/bin -L$(PD_PATH)/obj -lpd -lwsock32 -lkernel32 -luser32 -lgdi32
+ STRIP = strip --strip-unneeded -R .note -R .comment
+ DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION)
+ DISTBINDIR=$(DISTDIR)-$(OS)
+endif
+
+CFLAGS += $(OPT_CFLAGS)
+
+
+.PHONY = install libdir_install single_install install-doc install-exec install-examples clean dist etags
+
+all: $(SOURCES:.c=.$(EXTENSION))
+
+%.o: %.c
+ $(CC) $(CFLAGS) -o "$*.o" -c "$*.c"
+
+%.$(EXTENSION): %.o
+ $(CC) $(LDFLAGS) -o "$*.$(EXTENSION)" "$*.o" $(LIBS)
+ chmod a-x "$*.$(EXTENSION)"
+
+# this links everything into a single binary file
+$(LIBRARY_NAME): $(SOURCES:.c=.o) $(LIBRARY_NAME).o
+ $(CC) $(LDFLAGS) -o $(LIBRARY_NAME).$(EXTENSION) $(SOURCES:.c=.o) $(LIBRARY_NAME).o $(LIBS)
+ chmod a-x $(LIBRARY_NAME).$(EXTENSION)
+
+
+install: libdir_install
+
+# The meta and help files are explicitly installed to make sure they are
+# actually there. Those files are not optional, then need to be there.
+libdir_install: $(SOURCES:.c=.$(EXTENSION)) install-doc install-examples
+ $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
+ $(INSTALL_FILE) $(LIBRARY_NAME)-meta.pd \
+ $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
+ test -z "$(strip $(SOURCES))" || (\
+ $(INSTALL_FILE) $(SOURCES:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) && \
+ $(STRIP) $(addprefix $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/,$(SOURCES:.c=.$(EXTENSION))))
+ test -z "$(strip $(PDOBJECTS))" || \
+ $(INSTALL_FILE) $(PDOBJECTS) \
+ $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
+
+# install library linked as single binary
+single_install: $(LIBRARY_NAME) install-doc install-exec
+ $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
+ $(INSTALL_FILE) $(LIBRARY_NAME).$(EXTENSION) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
+ $(STRIP) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/$(LIBRARY_NAME).$(EXTENSION)
+
+install-doc:
+ $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
+ test -z "$(strip $(SOURCES))" || \
+ $(INSTALL_FILE) $(SOURCES:.c=-help.pd) \
+ $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
+ test -z "$(strip $(PDOBJECTS))" || \
+ $(INSTALL_FILE) $(PDOBJECTS:.pd=-help.pd) \
+ $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
+# this is the only bit not really handled well...
+ $(INSTALL_FILE) README $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/README.txt
+ $(INSTALL_FILE) VERSION $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/VERSION.txt
+ $(INSTALL_FILE) CHANGES $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/CHANGES.txt
+
+install-examples:
+ test ! -d examples || (\
+ $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples && \
+ $(INSTALL_FILE) examples/*.* $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples)
+
+
+clean:
+ -rm -f -- $(SOURCES:.c=.o)
+ -rm -f -- $(SOURCES:.c=.$(EXTENSION))
+ -rm -f -- $(LIBRARY_NAME).$(EXTENSION)
+
+distclean: clean
+ -rm -f -- $(DISTBINDIR).tar.gz
+ -rm -rf -- $(DISTBINDIR)
+ -rm -f -- $(DISTDIR).tar.gz
+ -rm -rf -- $(DISTDIR)
+
+
+$(DISTBINDIR):
+ $(INSTALL_DIR) $(DISTBINDIR)
+
+libdir: all $(DISTBINDIR)
+ $(INSTALL_FILE) $(LIBRARY_NAME)-meta.pd $(DISTBINDIR)
+ $(INSTALL_FILE) $(SOURCES) $(DISTBINDIR)
+ $(INSTALL_FILE) $(SOURCES:.c=-help.pd) $(DISTBINDIR)
+ test -z "$(strip $(EXTRA_DIST))" || \
+ $(INSTALL_FILE) $(EXTRA_DIST) $(DISTBINDIR)
+# tar --exclude-vcs -czpf $(DISTBINDIR).tar.gz $(DISTBINDIR)
+
+$(DISTDIR):
+ $(INSTALL_DIR) $(DISTDIR)
+
+dist: $(DISTDIR)
+ $(INSTALL_FILE) Makefile $(DISTDIR)
+ $(INSTALL_FILE) $(LIBRARY_NAME)-meta.pd $(DISTDIR)
+ test -z "$(strip $(ALLSOURCES))" || \
+ $(INSTALL_FILE) $(ALLSOURCES) $(DISTDIR)
+ test -z "$(strip $(ALLSOURCES))" || \
+ $(INSTALL_FILE) $(ALLSOURCES:.c=-help.pd) $(DISTDIR)
+ test -z "$(strip $(PDOBJECTS))" || \
+ $(INSTALL_FILE) $(PDOBJECTS) $(DISTDIR)
+ test -z "$(strip $(PDOBJECTS))" || \
+ $(INSTALL_FILE) $(PDOBJECTS:.pd=-help.pd) $(DISTDIR)
+ test -z "$(strip $(EXTRA_DIST))" || \
+ $(INSTALL_FILE) $(EXTRA_DIST) $(DISTDIR)
+ tar --exclude-vcs -czpf $(DISTDIR).tar.gz $(DISTDIR)
+
+
+etags:
+ etags *.h $(SOURCES) ../../pd/src/*.[ch] /usr/include/*.h /usr/include/*/*.h
+
+showpaths:
+ @echo "PD_PATH: $(PD_PATH)"
+ @echo "objectsdir: $(objectsdir)"
+ @echo "LIBRARY_NAME: $(LIBRARY_NAME)"
+ @echo "SOURCES: $(SOURCES)"
+ @echo "ALLSOURCES: $(ALLSOURCES)"
+ @echo "UNAME: $(UNAME)"
+ @echo "CPU: $(CPU)"
+
diff --git a/SConscript b/SConscript
deleted file mode 100644
index 1779ea7..0000000
--- a/SConscript
+++ /dev/null
@@ -1,9 +0,0 @@
-import glob
-import os
-Import('env prefix')
-
-pmpd = env.SharedLibrary(target = 'pmpd', source = 'src/pmpd.c')
-env.Alias('install', env.Install(os.path.join(prefix, 'extra'), pmpd))
-env.Alias('install', env.Install(os.path.join(prefix, 'doc/pmpd'), glob.glob('help/*.pd')))
-env.Alias('install', env.Install(os.path.join(prefix, 'doc/pmpd/exemples'), glob.glob('exemples/*.pd')))
-Default(pmpd)
diff --git a/doc/pmpd.sxw b/doc/pmpd.sxw
deleted file mode 100644
index 6445eba..0000000
--- a/doc/pmpd.sxw
+++ /dev/null
Binary files differ
diff --git a/exemples/00_pmpd.pd b/examples/00_pmpd.pd
index 09aa952..09aa952 100644
--- a/exemples/00_pmpd.pd
+++ b/examples/00_pmpd.pd
diff --git a/exemples/01_basics.pd b/examples/01_basics.pd
index 1b47745..1b47745 100644
--- a/exemples/01_basics.pd
+++ b/examples/01_basics.pd
diff --git a/exemples/02_string.pd b/examples/02_string.pd
index 1b9d4ca..1b9d4ca 100644
--- a/exemples/02_string.pd
+++ b/examples/02_string.pd
diff --git a/exemples/03_chaos2D.pd b/examples/03_chaos2D.pd
index 3513b5d..3513b5d 100644
--- a/exemples/03_chaos2D.pd
+++ b/examples/03_chaos2D.pd
diff --git a/exemples/04_3D_exemple.pd b/examples/04_3D_exemple.pd
index 2cfdb7e..2cfdb7e 100644
--- a/exemples/04_3D_exemple.pd
+++ b/examples/04_3D_exemple.pd
diff --git a/exemples/05_corde2D.pd b/examples/05_corde2D.pd
index 7855ead..7855ead 100644
--- a/exemples/05_corde2D.pd
+++ b/examples/05_corde2D.pd
diff --git a/exemples/06_pyramide3D.pd b/examples/06_pyramide3D.pd
index 79768d7..79768d7 100644
--- a/exemples/06_pyramide3D.pd
+++ b/examples/06_pyramide3D.pd
diff --git a/exemples/07_corde3D.pd b/examples/07_corde3D.pd
index 99d4816..99d4816 100644
--- a/exemples/07_corde3D.pd
+++ b/examples/07_corde3D.pd
diff --git a/exemples/08_ball2D.pd b/examples/08_ball2D.pd
index 6e9fb1a..6e9fb1a 100644
--- a/exemples/08_ball2D.pd
+++ b/examples/08_ball2D.pd
diff --git a/exemples/09_tutorial2D.pd b/examples/09_tutorial2D.pd
index 6e8e9d3..6e8e9d3 100644
--- a/exemples/09_tutorial2D.pd
+++ b/examples/09_tutorial2D.pd
diff --git a/exemples/10_game.pd b/examples/10_game.pd
index eb95965..eb95965 100644
--- a/exemples/10_game.pd
+++ b/examples/10_game.pd
diff --git a/exemples/11_comportement.pd b/examples/11_comportement.pd
index 8d86a23..8d86a23 100644
--- a/exemples/11_comportement.pd
+++ b/examples/11_comportement.pd
diff --git a/exemples/12_exitation.pd b/examples/12_exitation.pd
index db31f39..db31f39 100644
--- a/exemples/12_exitation.pd
+++ b/examples/12_exitation.pd
diff --git a/exemples/13_plane3D.pd b/examples/13_plane3D.pd
index 965237e..965237e 100644
--- a/exemples/13_plane3D.pd
+++ b/examples/13_plane3D.pd
diff --git a/exemples/14_MP_curve3d.pd b/examples/14_MP_curve3d.pd
index c11abc1..c11abc1 100644
--- a/exemples/14_MP_curve3d.pd
+++ b/examples/14_MP_curve3d.pd
diff --git a/exemples/15_constant_force_field.pd b/examples/15_constant_force_field.pd
index 4882d29..4882d29 100644
--- a/exemples/15_constant_force_field.pd
+++ b/examples/15_constant_force_field.pd
diff --git a/exemples/16_name_and_interactors.pd b/examples/16_name_and_interactors.pd
index bf1525d..bf1525d 100644
--- a/exemples/16_name_and_interactors.pd
+++ b/examples/16_name_and_interactors.pd
diff --git a/exemples/17_rnd_mouvmnt_and_obstacles.pd b/examples/17_rnd_mouvmnt_and_obstacles.pd
index 4a2edfc..4a2edfc 100644
--- a/exemples/17_rnd_mouvmnt_and_obstacles.pd
+++ b/examples/17_rnd_mouvmnt_and_obstacles.pd
diff --git a/exemples/18_flipper.pd b/examples/18_flipper.pd
index bc985df..bc985df 100644
--- a/exemples/18_flipper.pd
+++ b/examples/18_flipper.pd
diff --git a/exemples/19_vertex.pd b/examples/19_vertex.pd
index 50078fe..50078fe 100644
--- a/exemples/19_vertex.pd
+++ b/examples/19_vertex.pd
diff --git a/exemples/20_moving_vertex.pd b/examples/20_moving_vertex.pd
index ab1fb0f..ab1fb0f 100644
--- a/exemples/20_moving_vertex.pd
+++ b/examples/20_moving_vertex.pd
diff --git a/exemples/21_fluid_circulation_cylinder.pd b/examples/21_fluid_circulation_cylinder.pd
index 1c5e8b8..1c5e8b8 100644
--- a/exemples/21_fluid_circulation_cylinder.pd
+++ b/examples/21_fluid_circulation_cylinder.pd
diff --git a/exemples/22_gaz_molecules.pd b/examples/22_gaz_molecules.pd
index cf40a3e..cf40a3e 100644
--- a/exemples/22_gaz_molecules.pd
+++ b/examples/22_gaz_molecules.pd
diff --git a/exemples/23_test.pd b/examples/23_test.pd
index e79d81a..e79d81a 100644
--- a/exemples/23_test.pd
+++ b/examples/23_test.pd
diff --git a/exemples/24_sand.pd b/examples/24_sand.pd
index 14b01d8..14b01d8 100644
--- a/exemples/24_sand.pd
+++ b/examples/24_sand.pd
diff --git a/exemples/25_sand2.pd b/examples/25_sand2.pd
index e8627b9..e8627b9 100644
--- a/exemples/25_sand2.pd
+++ b/examples/25_sand2.pd
diff --git a/exemples/26_sand3.pd b/examples/26_sand3.pd
index bb5a243..bb5a243 100644
--- a/exemples/26_sand3.pd
+++ b/examples/26_sand3.pd
diff --git a/exemples/27_tLia.pd b/examples/27_tLia.pd
index 08d05dd..08d05dd 100644
--- a/exemples/27_tLia.pd
+++ b/examples/27_tLia.pd
diff --git a/exemples/28_Lia.pd b/examples/28_Lia.pd
index f65ab7e..f65ab7e 100644
--- a/exemples/28_Lia.pd
+++ b/examples/28_Lia.pd
diff --git a/exemples/29_aglom.pd b/examples/29_aglom.pd
index 9ee9c3e..9ee9c3e 100644
--- a/exemples/29_aglom.pd
+++ b/examples/29_aglom.pd
diff --git a/exemples/30_falling_aglom.pd b/examples/30_falling_aglom.pd
index 1947ff3..1947ff3 100644
--- a/exemples/30_falling_aglom.pd
+++ b/examples/30_falling_aglom.pd
diff --git a/exemples/31_paste.pd b/examples/31_paste.pd
index 6cf317d..6cf317d 100644
--- a/exemples/31_paste.pd
+++ b/examples/31_paste.pd
diff --git a/exemples/32_Kelvin_Helmoltz_instability.pd b/examples/32_Kelvin_Helmoltz_instability.pd
index 746aace..746aace 100644
--- a/exemples/32_Kelvin_Helmoltz_instability.pd
+++ b/examples/32_Kelvin_Helmoltz_instability.pd
diff --git a/exemples/33_vorticity_ellipse.pd b/examples/33_vorticity_ellipse.pd
index 4039558..4039558 100644
--- a/exemples/33_vorticity_ellipse.pd
+++ b/examples/33_vorticity_ellipse.pd
diff --git a/exemples/34_cigarette_smoke.pd b/examples/34_cigarette_smoke.pd
index 6eee57b..6eee57b 100644
--- a/exemples/34_cigarette_smoke.pd
+++ b/examples/34_cigarette_smoke.pd
diff --git a/exemples/35_gravitation.pd b/examples/35_gravitation.pd
index c59564b..c59564b 100644
--- a/exemples/35_gravitation.pd
+++ b/examples/35_gravitation.pd
diff --git a/exemples/36_3D_interactors.pd b/examples/36_3D_interactors.pd
index 72ab154..72ab154 100644
--- a/exemples/36_3D_interactors.pd
+++ b/examples/36_3D_interactors.pd
diff --git a/exemples/37_hollywood_planette_explosion.pd b/examples/37_hollywood_planette_explosion.pd
index 887b17d..887b17d 100644
--- a/exemples/37_hollywood_planette_explosion.pd
+++ b/examples/37_hollywood_planette_explosion.pd
diff --git a/exemples/38_elastique_membrane_on_a_sphere.pd b/examples/38_elastique_membrane_on_a_sphere.pd
index 2ca904c..2ca904c 100644
--- a/exemples/38_elastique_membrane_on_a_sphere.pd
+++ b/examples/38_elastique_membrane_on_a_sphere.pd
diff --git a/exemples/39_blob.pd b/examples/39_blob.pd
index 8a71b94..8a71b94 100644
--- a/exemples/39_blob.pd
+++ b/examples/39_blob.pd
diff --git a/exemples/40_i3D.pd b/examples/40_i3D.pd
index 1177cbb..1177cbb 100644
--- a/exemples/40_i3D.pd
+++ b/examples/40_i3D.pd
diff --git a/exemples/41_morfing.pd b/examples/41_morfing.pd
index 175b41d..175b41d 100644
--- a/exemples/41_morfing.pd
+++ b/examples/41_morfing.pd
diff --git a/exemples/42_tentacule.pd b/examples/42_tentacule.pd
index 03bf052..03bf052 100644
--- a/exemples/42_tentacule.pd
+++ b/examples/42_tentacule.pd
diff --git a/exemples/43_game.pd b/examples/43_game.pd
index 22d4341..22d4341 100644
--- a/exemples/43_game.pd
+++ b/examples/43_game.pd
diff --git a/exemples/44_flag.pd b/examples/44_flag.pd
index 54819bd..54819bd 100644
--- a/exemples/44_flag.pd
+++ b/examples/44_flag.pd
diff --git a/exemples/45_newWave.pd b/examples/45_newWave.pd
index 70befec..70befec 100644
--- a/exemples/45_newWave.pd
+++ b/examples/45_newWave.pd
diff --git a/exemples/46_non_linear.pd b/examples/46_non_linear.pd
index c0c66aa..c0c66aa 100644
--- a/exemples/46_non_linear.pd
+++ b/examples/46_non_linear.pd
diff --git a/exemples/47_scann_synth.pd b/examples/47_scann_synth.pd
index 450844e..450844e 100644
--- a/exemples/47_scann_synth.pd
+++ b/examples/47_scann_synth.pd
diff --git a/exemples/48_pmpd.pd b/examples/48_pmpd.pd
index 385fee1..385fee1 100644
--- a/exemples/48_pmpd.pd
+++ b/examples/48_pmpd.pd
diff --git a/exemples/49_pmpd~.pd b/examples/49_pmpd~.pd
index 1628928..1628928 100644
--- a/exemples/49_pmpd~.pd
+++ b/examples/49_pmpd~.pd
diff --git a/exemples/50-simple_oscilator~.pd b/examples/50-simple_oscilator~.pd
index 6abe3d9..6abe3d9 100644
--- a/exemples/50-simple_oscilator~.pd
+++ b/examples/50-simple_oscilator~.pd
diff --git a/exemples/51_string~.pd b/examples/51_string~.pd
index 804c7bc..804c7bc 100644
--- a/exemples/51_string~.pd
+++ b/examples/51_string~.pd
diff --git a/exemples/aglom.pd b/examples/aglom.pd
index b8fe2c6..b8fe2c6 100644
--- a/exemples/aglom.pd
+++ b/examples/aglom.pd
diff --git a/exemples/aglom2.pd b/examples/aglom2.pd
index bacfd9c..bacfd9c 100644
--- a/exemples/aglom2.pd
+++ b/examples/aglom2.pd
diff --git a/exemples/aglom3.pd b/examples/aglom3.pd
index 17ec4cb..17ec4cb 100644
--- a/exemples/aglom3.pd
+++ b/examples/aglom3.pd
diff --git a/exemples/aglom4.pd b/examples/aglom4.pd
index 1d16f1b..1d16f1b 100644
--- a/exemples/aglom4.pd
+++ b/examples/aglom4.pd
diff --git a/exemples/blob.pd b/examples/blob.pd
index 4ff02ea..4ff02ea 100644
--- a/exemples/blob.pd
+++ b/examples/blob.pd
diff --git a/exemples/ch_gemwin.pd b/examples/ch_gemwin.pd
index 1ebbb42..1ebbb42 100644
--- a/exemples/ch_gemwin.pd
+++ b/examples/ch_gemwin.pd
diff --git a/exemples/ch_uzi.pd b/examples/ch_uzi.pd
index 43b450d..43b450d 100644
--- a/exemples/ch_uzi.pd
+++ b/examples/ch_uzi.pd
diff --git a/exemples/constructor.pd b/examples/constructor.pd
index 0e1aa28..0e1aa28 100644
--- a/exemples/constructor.pd
+++ b/examples/constructor.pd
diff --git a/exemples/explose1.pd b/examples/explose1.pd
index 5cf52e8..5cf52e8 100644
--- a/exemples/explose1.pd
+++ b/examples/explose1.pd
diff --git a/exemples/explose2.pd b/examples/explose2.pd
index 0e5f8ff..0e5f8ff 100644
--- a/exemples/explose2.pd
+++ b/examples/explose2.pd
diff --git a/exemples/fluide_mass.pd b/examples/fluide_mass.pd
index 56479b0..56479b0 100644
--- a/exemples/fluide_mass.pd
+++ b/examples/fluide_mass.pd
diff --git a/exemples/fluide_mass2.pd b/examples/fluide_mass2.pd
index c6b3ab7..c6b3ab7 100644
--- a/exemples/fluide_mass2.pd
+++ b/examples/fluide_mass2.pd
diff --git a/exemples/fluide_mass3.pd b/examples/fluide_mass3.pd
index acef116..acef116 100644
--- a/exemples/fluide_mass3.pd
+++ b/examples/fluide_mass3.pd
diff --git a/exemples/fluide_mass4.pd b/examples/fluide_mass4.pd
index 02527b9..02527b9 100644
--- a/exemples/fluide_mass4.pd
+++ b/examples/fluide_mass4.pd
diff --git a/exemples/fluide_mass5.pd b/examples/fluide_mass5.pd
index aab5168..aab5168 100644
--- a/exemples/fluide_mass5.pd
+++ b/examples/fluide_mass5.pd
diff --git a/exemples/fluide_mass6.pd b/examples/fluide_mass6.pd
index f7b06c8..f7b06c8 100644
--- a/exemples/fluide_mass6.pd
+++ b/examples/fluide_mass6.pd
diff --git a/exemples/fluide_masse.pd b/examples/fluide_masse.pd
index f8bfa11..f8bfa11 100644
--- a/exemples/fluide_masse.pd
+++ b/examples/fluide_masse.pd
diff --git a/exemples/fluide_masse2.pd b/examples/fluide_masse2.pd
index dee927b..dee927b 100644
--- a/exemples/fluide_masse2.pd
+++ b/examples/fluide_masse2.pd
diff --git a/exemples/fluide_masse3.pd b/examples/fluide_masse3.pd
index f339fab..f339fab 100644
--- a/exemples/fluide_masse3.pd
+++ b/examples/fluide_masse3.pd
diff --git a/exemples/fluide_masse4.pd b/examples/fluide_masse4.pd
index 60c1d9f..60c1d9f 100644
--- a/exemples/fluide_masse4.pd
+++ b/examples/fluide_masse4.pd
diff --git a/exemples/fluide_masse5.pd b/examples/fluide_masse5.pd
index b2bc219..b2bc219 100644
--- a/exemples/fluide_masse5.pd
+++ b/examples/fluide_masse5.pd
diff --git a/exemples/fluide_masse6.pd b/examples/fluide_masse6.pd
index 1cf6a9a..1cf6a9a 100644
--- a/exemples/fluide_masse6.pd
+++ b/examples/fluide_masse6.pd
diff --git a/exemples/game_line.pd b/examples/game_line.pd
index ee29813..ee29813 100644
--- a/exemples/game_line.pd
+++ b/examples/game_line.pd
diff --git a/exemples/gemLia.pd b/examples/gemLia.pd
index 97e0a64..97e0a64 100644
--- a/exemples/gemLia.pd
+++ b/examples/gemLia.pd
diff --git a/exemples/gemLia2.pd b/examples/gemLia2.pd
index 96adc97..96adc97 100644
--- a/exemples/gemLia2.pd
+++ b/examples/gemLia2.pd
diff --git a/exemples/gemMasse.pd b/examples/gemMasse.pd
index 643876d..643876d 100644
--- a/exemples/gemMasse.pd
+++ b/examples/gemMasse.pd
diff --git a/exemples/gemMasse2.pd b/examples/gemMasse2.pd
index 8eece35..8eece35 100644
--- a/exemples/gemMasse2.pd
+++ b/examples/gemMasse2.pd
diff --git a/exemples/gemMasse3.pd b/examples/gemMasse3.pd
index 2e44a2e..2e44a2e 100644
--- a/exemples/gemMasse3.pd
+++ b/examples/gemMasse3.pd
diff --git a/exemples/i3D.pd b/examples/i3D.pd
index e65eef4..e65eef4 100644
--- a/exemples/i3D.pd
+++ b/examples/i3D.pd
diff --git a/exemples/i3D2.pd b/examples/i3D2.pd
index 5966eb5..5966eb5 100644
--- a/exemples/i3D2.pd
+++ b/examples/i3D2.pd
diff --git a/exemples/mass_link.pd b/examples/mass_link.pd
index 1120e2e..1120e2e 100644
--- a/exemples/mass_link.pd
+++ b/examples/mass_link.pd
diff --git a/exemples/mass_link2.pd b/examples/mass_link2.pd
index f03bdb0..f03bdb0 100644
--- a/exemples/mass_link2.pd
+++ b/examples/mass_link2.pd
diff --git a/exemples/mass_link3.pd b/examples/mass_link3.pd
index 3a5f5a9..3a5f5a9 100644
--- a/exemples/mass_link3.pd
+++ b/examples/mass_link3.pd
diff --git a/exemples/mountain.pd b/examples/mountain.pd
index b9c0467..b9c0467 100644
--- a/exemples/mountain.pd
+++ b/examples/mountain.pd
diff --git a/exemples/pd_lia.pd b/examples/pd_lia.pd
index 1e450d8..1e450d8 100644
--- a/exemples/pd_lia.pd
+++ b/examples/pd_lia.pd
diff --git a/exemples/pd_lia2.pd b/examples/pd_lia2.pd
index b6f9b7e..b6f9b7e 100644
--- a/exemples/pd_lia2.pd
+++ b/examples/pd_lia2.pd
diff --git a/exemples/pd_link.pd b/examples/pd_link.pd
index a74712b..a74712b 100644
--- a/exemples/pd_link.pd
+++ b/examples/pd_link.pd
diff --git a/exemples/pd_link2.pd b/examples/pd_link2.pd
index 820d3ef..820d3ef 100644
--- a/exemples/pd_link2.pd
+++ b/examples/pd_link2.pd
diff --git a/exemples/pd_mass.pd b/examples/pd_mass.pd
index ca74731..ca74731 100644
--- a/exemples/pd_mass.pd
+++ b/examples/pd_mass.pd
diff --git a/exemples/pd_mass2.pd b/examples/pd_mass2.pd
index 4942661..4942661 100644
--- a/exemples/pd_mass2.pd
+++ b/examples/pd_mass2.pd
diff --git a/exemples/pd_masse.pd b/examples/pd_masse.pd
index d3130da..d3130da 100644
--- a/exemples/pd_masse.pd
+++ b/examples/pd_masse.pd
diff --git a/exemples/pd_masse2.pd b/examples/pd_masse2.pd
index fdc2e4e..fdc2e4e 100644
--- a/exemples/pd_masse2.pd
+++ b/examples/pd_masse2.pd
diff --git a/exemples/rain.pd b/examples/rain.pd
index 085eb93..085eb93 100644
--- a/exemples/rain.pd
+++ b/examples/rain.pd
diff --git a/exemples/rain1.pd b/examples/rain1.pd
index 8c9c477..8c9c477 100644
--- a/exemples/rain1.pd
+++ b/examples/rain1.pd
diff --git a/exemples/sand.pd b/examples/sand.pd
index 99f21a5..99f21a5 100644
--- a/exemples/sand.pd
+++ b/examples/sand.pd
diff --git a/exemples/smoke.pd b/examples/smoke.pd
index 28aef88..28aef88 100644
--- a/exemples/smoke.pd
+++ b/examples/smoke.pd
diff --git a/exemples/smoke1.pd b/examples/smoke1.pd
index 92d7270..92d7270 100644
--- a/exemples/smoke1.pd
+++ b/examples/smoke1.pd
diff --git a/exemples/smoke_vortex.pd b/examples/smoke_vortex.pd
index eb2bdea..eb2bdea 100644
--- a/exemples/smoke_vortex.pd
+++ b/examples/smoke_vortex.pd
diff --git a/exemples/tut_link.pd b/examples/tut_link.pd
index 3dd9769..3dd9769 100644
--- a/exemples/tut_link.pd
+++ b/examples/tut_link.pd
diff --git a/exemples/tut_mass.pd b/examples/tut_mass.pd
index 4106fa5..4106fa5 100644
--- a/exemples/tut_mass.pd
+++ b/examples/tut_mass.pd
diff --git a/exemples/tut_masse.pd b/examples/tut_masse.pd
index 05d523e..05d523e 100644
--- a/exemples/tut_masse.pd
+++ b/examples/tut_masse.pd
diff --git a/exemples/vortex.pd b/examples/vortex.pd
index 64a1cbc..64a1cbc 100644
--- a/exemples/vortex.pd
+++ b/examples/vortex.pd
diff --git a/exemples/vortex2.pd b/examples/vortex2.pd
index 3cfa5a2..3cfa5a2 100644
--- a/exemples/vortex2.pd
+++ b/examples/vortex2.pd
diff --git a/help/iAmbient2D-help.pd b/iAmbient2D-help.pd
index 7b1142e..7b1142e 100644
--- a/help/iAmbient2D-help.pd
+++ b/iAmbient2D-help.pd
diff --git a/src/iAmbient2D.c b/iAmbient2D.c
index f5050ce..f5050ce 100644
--- a/src/iAmbient2D.c
+++ b/iAmbient2D.c
diff --git a/help/iAmbient3D-help.pd b/iAmbient3D-help.pd
index a0a86ba..a0a86ba 100644
--- a/help/iAmbient3D-help.pd
+++ b/iAmbient3D-help.pd
diff --git a/src/iAmbient3D.c b/iAmbient3D.c
index cd95088..cd95088 100644
--- a/src/iAmbient3D.c
+++ b/iAmbient3D.c
diff --git a/help/iCircle2D-help.pd b/iCircle2D-help.pd
index 466212f..466212f 100644
--- a/help/iCircle2D-help.pd
+++ b/iCircle2D-help.pd
diff --git a/src/iCircle2D.c b/iCircle2D.c
index 869dd70..869dd70 100644
--- a/src/iCircle2D.c
+++ b/iCircle2D.c
diff --git a/help/iCircle3D-help.pd b/iCircle3D-help.pd
index 9c2a0e7..9c2a0e7 100644
--- a/help/iCircle3D-help.pd
+++ b/iCircle3D-help.pd
diff --git a/src/iCircle3D.c b/iCircle3D.c
index cfbc412..cfbc412 100644
--- a/src/iCircle3D.c
+++ b/iCircle3D.c
diff --git a/help/iCylinder3D-help.pd b/iCylinder3D-help.pd
index f5591aa..f5591aa 100644
--- a/help/iCylinder3D-help.pd
+++ b/iCylinder3D-help.pd
diff --git a/src/iCylinder3D.c b/iCylinder3D.c
index 59336bf..59336bf 100644
--- a/src/iCylinder3D.c
+++ b/iCylinder3D.c
diff --git a/help/iLine2D-help.pd b/iLine2D-help.pd
index 41ff4bf..41ff4bf 100644
--- a/help/iLine2D-help.pd
+++ b/iLine2D-help.pd
diff --git a/src/iLine2D.c b/iLine2D.c
index d188d92..d188d92 100644
--- a/src/iLine2D.c
+++ b/iLine2D.c
diff --git a/help/iPlane3D-help.pd b/iPlane3D-help.pd
index e9c4618..e9c4618 100644
--- a/help/iPlane3D-help.pd
+++ b/iPlane3D-help.pd
diff --git a/src/iPlane3D.c b/iPlane3D.c
index f9be065..f9be065 100644
--- a/src/iPlane3D.c
+++ b/iPlane3D.c
diff --git a/help/iSeg2D-help.pd b/iSeg2D-help.pd
index f3cd89d..f3cd89d 100644
--- a/help/iSeg2D-help.pd
+++ b/iSeg2D-help.pd
diff --git a/src/iSeg2D.c b/iSeg2D.c
index 77c740b..77c740b 100644
--- a/src/iSeg2D.c
+++ b/iSeg2D.c
diff --git a/help/iSphere3D-help.pd b/iSphere3D-help.pd
index 76d4f9e..76d4f9e 100644
--- a/help/iSphere3D-help.pd
+++ b/iSphere3D-help.pd
diff --git a/src/iSphere3D.c b/iSphere3D.c
index 5b84171..5b84171 100644
--- a/src/iSphere3D.c
+++ b/iSphere3D.c
diff --git a/help/link-help.pd b/link-help.pd
index a5ee327..a5ee327 100644
--- a/help/link-help.pd
+++ b/link-help.pd
diff --git a/src/link.c b/link.c
index 459f4a2..459f4a2 100644
--- a/src/link.c
+++ b/link.c
diff --git a/help/link2D-help.pd b/link2D-help.pd
index daf29b2..daf29b2 100644
--- a/help/link2D-help.pd
+++ b/link2D-help.pd
diff --git a/src/link2D.c b/link2D.c
index 318685d..318685d 100644
--- a/src/link2D.c
+++ b/link2D.c
diff --git a/help/link3D-help.pd b/link3D-help.pd
index 18a3a8e..18a3a8e 100644
--- a/help/link3D-help.pd
+++ b/link3D-help.pd
diff --git a/src/link3D.c b/link3D.c
index bbf0987..bbf0987 100644
--- a/src/link3D.c
+++ b/link3D.c
diff --git a/help/mass-help.pd b/mass-help.pd
index 5344cdc..5344cdc 100644
--- a/help/mass-help.pd
+++ b/mass-help.pd
diff --git a/src/mass.c b/mass.c
index de1a331..de1a331 100644
--- a/src/mass.c
+++ b/mass.c
diff --git a/help/mass2D-help.pd b/mass2D-help.pd
index b8ba560..b8ba560 100644
--- a/help/mass2D-help.pd
+++ b/mass2D-help.pd
diff --git a/src/mass2D.c b/mass2D.c
index bea7cd7..bea7cd7 100644
--- a/src/mass2D.c
+++ b/mass2D.c
diff --git a/help/mass3D-help.pd b/mass3D-help.pd
index 55b24ca..55b24ca 100644
--- a/help/mass3D-help.pd
+++ b/mass3D-help.pd
diff --git a/src/mass3D.c b/mass3D.c
index e8e362b..e8e362b 100644
--- a/src/mass3D.c
+++ b/mass3D.c
diff --git a/package.txt b/package.txt
deleted file mode 100644
index 111daf2..0000000
--- a/package.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-NAME=pmpd
-SRCDIR=src
-SRCS=pmpd.c
diff --git a/help/pmpd-help.pd b/pmpd-help.pd
index 4d0face..4d0face 100644
--- a/help/pmpd-help.pd
+++ b/pmpd-help.pd
diff --git a/src/pmpd.c b/pmpd.c
index 78c2f7f..78c2f7f 100644
--- a/src/pmpd.c
+++ b/pmpd.c
diff --git a/doc/pmpd.pdf/pmpd.pdf b/pmpd.pdf
index bd4e58f..bd4e58f 100644
--- a/doc/pmpd.pdf/pmpd.pdf
+++ b/pmpd.pdf
diff --git a/doc/pmpd.pdf/pmpd.sxw b/pmpd.sxw
index 6445eba..6445eba 100644
--- a/doc/pmpd.pdf/pmpd.sxw
+++ b/pmpd.sxw
Binary files differ
diff --git a/help/pmpd~-help.pd b/pmpd~-help.pd
index b938e75..b938e75 100644
--- a/help/pmpd~-help.pd
+++ b/pmpd~-help.pd
diff --git a/src/pmpd~.c b/pmpd~.c
index ce8f02d..ce8f02d 100644
--- a/src/pmpd~.c
+++ b/pmpd~.c
diff --git a/src/makefile b/src/makefile
deleted file mode 100644
index 45f07bf..0000000
--- a/src/makefile
+++ /dev/null
@@ -1,95 +0,0 @@
-current:
- echo make pd_linux, pd_nt, pd_darwin
-
-clean: ; rm -f *.pd_linux *.o
-
-# ----------------------- NT -----------------------
-
-pd_nt: pmpd.dll mass.dll link.dll mass2D.dll link2D.dll mass3D.dll link3D.dll iAmbient2D.dll iLine2D.dll iSeg2D.dll iCircle2D.dll tSquare2D.dll tLine2D.dll tSeg2D.dll tCircle2D.dll tLink2D.dll iAmbient3D.dll iSphere3D.dll iPlane3D.dll iCircle3D.dll iCylinder3D.dll tCube3D.dll tSphere3D.dll tPlane3D.dll tCircle3D.dll tCylinder3D.dll tLink3D.dll pmpd~.dll
-
-.SUFFIXES: .dll
-
-PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo
-VC="C:\Program Files\Microsoft Visual Studio\Vc98"
-
-PDNTINCLUDE = /I. /I\tcl\include /I..\..\..\pd\src /I$(VC)\include
-
-PDNTLDIR = $(VC)\lib
-PDNTLIB = $(PDNTLDIR)\libc.lib \
- $(PDNTLDIR)\oldnames.lib \
- $(PDNTLDIR)\kernel32.lib \
- ..\..\..\pd\bin\pd.lib
-
-.c.dll:
- cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
- link /dll /export:$*_setup $*.obj $(PDNTLIB)
-
-# ----------------------- IRIX 5.x -----------------------
-
-pd_irix5: pmpd.pd_irix5
-
-.SUFFIXES: .pd_irix5
-
-SGICFLAGS5 = -o32 -DPD -DUNIX -DIRIX -O2
-
-
-SGIINCLUDE = -I../../src/
-
-.c.pd_irix5:
- cc $(SGICFLAGS5) $(SGIINCLUDE) -o $*.o -c $*.c
- ld -elf -shared -rdata_shared -o $*.pd_irix5 $*.o
- rm $*.o
-
-# ----------------------- IRIX 6.x -----------------------
-
-pd_irix6: pmpd.pd_irix6
-
-.SUFFIXES: .pd_irix6
-
-SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \
- -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \
- -Ofast=ip32
-
-.c.pd_irix6:
- cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
- ld -IPA -n32 -shared -rdata_shared -o $*.pd_irix6 $*.o
- rm $*.o
-
-# ----------------------- LINUX i386 -----------------------
-
-pd_linux: pmpd.pd_linux mass.pd_linux link.pd_linux mass2D.pd_linux link2D.pd_linux mass3D.pd_linux link3D.pd_linux iAmbient2D.pd_linux iLine2D.pd_linux iSeg2D.pd_linux iCircle2D.pd_linux tSquare2D.pd_linux tLine2D.pd_linux tSeg2D.pd_linux tCircle2D.pd_linux tLink2D.pd_linux iAmbient3D.pd_linux iSphere3D.pd_linux iPlane3D.pd_linux iCircle3D.pd_linux iCylinder3D.pd_linux tCube3D.pd_linux tSphere3D.pd_linux tPlane3D.pd_linux tCircle3D.pd_linux tCylinder3D.pd_linux tLink3D.pd_linux pmpd~.pd_linux
-
-.SUFFIXES: .pd_linux
-
-LINUXCFLAGS = -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer \
- -Wall -W -Wshadow -Wstrict-prototypes -Werror \
- -Wno-unused -Wno-parentheses -Wno-switch
-
-LINUXINCLUDE = -I../../src
-
-.c.pd_linux:
- cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
- ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm
- strip --strip-unneeded $*.pd_linux
- rm $*.o
-
-# ----------------------- Mac OS X (Darwin) -----------------------
-
-pd_darwin: pmpd.pd_darwin mass.pd_darwin link.pd_darwin mass2D.pd_darwin link2D.pd_darwin mass3D.pd_darwin link3D.pd_darwin iAmbient2D.pd_darwin iLine2D.pd_darwin iSeg2D.pd_darwin iCircle2D.pd_darwin tSquare2D.pd_darwin tLine2D.pd_darwin tSeg2D.pd_darwin tCircle2D.pd_darwin tLink2D.pd_darwin iAmbient3D.pd_darwin iSphere3D.pd_darwin iPlane3D.pd_darwin iCircle3D.pd_darwin iCylinder3D.pd_darwin tCube3D.pd_darwin tSphere3D.pd_darwin tPlane3D.pd_darwin tCircle3D.pd_darwin tCylinder3D.pd_darwin tLink3D.pd_darwin pmpd~.pd_darwin
-
-.SUFFIXES: .pd_darwin
-
-DARWINCFLAGS = -DPD -DUNIX -DMACOSX -O2 \
- -Wall -W -Wshadow -Wstrict-prototypes \
- -Wno-unused -Wno-parentheses -Wno-switch
-
-# where is your m_pd.h ???
-DARWININCLUDE = -I/. -I../pd/src -I../pd/obj
-
-.c.pd_darwin:
- cc $(DARWINCFLAGS) $(DARWININCLUDE) -o $*.o -c $*.c
- cc -bundle -undefined suppress -flat_namespace -o $*.pd_darwin $*.o
- rm -f $*.o ../$*.pd_darwin
- ln -s $*/$*.pd_darwin ..
-
-
diff --git a/help/tCircle2D-help.pd b/tCircle2D-help.pd
index 3b403a5..3b403a5 100644
--- a/help/tCircle2D-help.pd
+++ b/tCircle2D-help.pd
diff --git a/src/tCircle2D.c b/tCircle2D.c
index e4ba448..e4ba448 100644
--- a/src/tCircle2D.c
+++ b/tCircle2D.c
diff --git a/help/tCircle3D-help.pd b/tCircle3D-help.pd
index 806eef2..806eef2 100644
--- a/help/tCircle3D-help.pd
+++ b/tCircle3D-help.pd
diff --git a/src/tCircle3D.c b/tCircle3D.c
index 6664d39..6664d39 100644
--- a/src/tCircle3D.c
+++ b/tCircle3D.c
diff --git a/help/tCube3D-help.pd b/tCube3D-help.pd
index b6d17c1..b6d17c1 100644
--- a/help/tCube3D-help.pd
+++ b/tCube3D-help.pd
diff --git a/src/tCube3D.c b/tCube3D.c
index ce0c434..ce0c434 100644
--- a/src/tCube3D.c
+++ b/tCube3D.c
diff --git a/help/tCylinder3D-help.pd b/tCylinder3D-help.pd
index c2e094d..c2e094d 100644
--- a/help/tCylinder3D-help.pd
+++ b/tCylinder3D-help.pd
diff --git a/src/tCylinder3D.c b/tCylinder3D.c
index 1ccf832..1ccf832 100644
--- a/src/tCylinder3D.c
+++ b/tCylinder3D.c
diff --git a/help/tLine2D-help.pd b/tLine2D-help.pd
index 02aea93..02aea93 100644
--- a/help/tLine2D-help.pd
+++ b/tLine2D-help.pd
diff --git a/src/tLine2D.c b/tLine2D.c
index f440bfd..f440bfd 100644
--- a/src/tLine2D.c
+++ b/tLine2D.c
diff --git a/help/tLink2D-help.pd b/tLink2D-help.pd
index dde6186..dde6186 100644
--- a/help/tLink2D-help.pd
+++ b/tLink2D-help.pd
diff --git a/src/tLink2D.c b/tLink2D.c
index c1e27ed..c1e27ed 100644
--- a/src/tLink2D.c
+++ b/tLink2D.c
diff --git a/help/tLink3D-help.pd b/tLink3D-help.pd
index f53a2db..f53a2db 100644
--- a/help/tLink3D-help.pd
+++ b/tLink3D-help.pd
diff --git a/src/tLink3D.c b/tLink3D.c
index b4f623c..b4f623c 100644
--- a/src/tLink3D.c
+++ b/tLink3D.c
diff --git a/help/tPlane3D-help.pd b/tPlane3D-help.pd
index 71ef6f8..71ef6f8 100644
--- a/help/tPlane3D-help.pd
+++ b/tPlane3D-help.pd
diff --git a/src/tPlane3D.c b/tPlane3D.c
index 3213bea..3213bea 100644
--- a/src/tPlane3D.c
+++ b/tPlane3D.c
diff --git a/help/tSeg2D-help.pd b/tSeg2D-help.pd
index 11f2ee4..11f2ee4 100644
--- a/help/tSeg2D-help.pd
+++ b/tSeg2D-help.pd
diff --git a/src/tSeg2D.c b/tSeg2D.c
index 7345bd7..7345bd7 100644
--- a/src/tSeg2D.c
+++ b/tSeg2D.c
diff --git a/help/tSphere3D-help.pd b/tSphere3D-help.pd
index c05819e..c05819e 100644
--- a/help/tSphere3D-help.pd
+++ b/tSphere3D-help.pd
diff --git a/src/tSphere3D.c b/tSphere3D.c
index 6ef9cfa..6ef9cfa 100644
--- a/src/tSphere3D.c
+++ b/tSphere3D.c
diff --git a/help/tSquare2D-help.pd b/tSquare2D-help.pd
index 0559f8b..0559f8b 100644
--- a/help/tSquare2D-help.pd
+++ b/tSquare2D-help.pd
diff --git a/src/tSquare2D.c b/tSquare2D.c
index 4e14fa0..4e14fa0 100644
--- a/src/tSquare2D.c
+++ b/tSquare2D.c