File wiimote-makefile.patch of Package pd-wiimote
--- Wiimote/makefile.orig 2008-08-17 17:58:24.000000000 +0200
+++ Wiimote/makefile 2008-08-17 18:16:04.000000000 +0200
@@ -9,7 +9,7 @@
#include ../../../makefile.include
# specify the path to CWiid:
-CWIID_PATH = $(ASCAPE_PATH)/usr/lib
+#CWIID_PATH = $(ASCAPE_PATH)/usr/lib
######################################################
@@ -39,7 +39,7 @@
.SUFFIXES: .pd_linux
LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
- -W -Wshadow -Wstrict-prototypes \
+ -W -Wshadow -Wstrict-prototypes -fPIC \
-Wno-unused -Wno-parentheses -Wno-switch
.c.pd_linux: