summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@XPS-SUSE.site>2008-11-29 13:10:21 +0900
committerSam Spilsbury <Sam@XPS-SUSE.site>2008-11-29 13:10:21 +0900
commitee4ee188eaf12af811cd7e4491d4f74d363a6a16 (patch)
tree80b6bce776d3a23d0dcbd73a2235fd5775180a1b
parentcef4121f013be202335e7e891ad7034a45355035 (diff)
downloadwiimote-ee4ee188eaf12af811cd7e4491d4f74d363a6a16.tar.gz
wiimote-ee4ee188eaf12af811cd7e4491d4f74d363a6a16.tar.bz2
* Remove useless includes amongst other things
-rw-r--r--compiz-wiimote.h6
-rwxr-xr-xsetupbuild8
2 files changed, 9 insertions, 5 deletions
diff --git a/compiz-wiimote.h b/compiz-wiimote.h
index 0cbcc21..91323bd 100644
--- a/compiz-wiimote.h
+++ b/compiz-wiimote.h
@@ -20,6 +20,7 @@
#ifndef _COMPIZ_WIIMOTE_H
#define _COMPIZ_WIIMOTE_H
+#endif
#include <compiz-core.h>
#include <cwiid.h>
@@ -30,9 +31,6 @@
#include <string.h>
#include <math.h>
-#include <compiz-core.h>
-#include <compiz-text.h>
-
#include <unistd.h>
#define WIIMOTE_ABIVERSION 20080119
@@ -447,5 +445,3 @@ wiimoteSendInfo (CompDisplay *d,
#define PI 3.14159265358979323846
#define DEG2RAD2(DEG) ((DEG)*((PI)/(180.0)))
-
-#endif
diff --git a/setupbuild b/setupbuild
new file mode 100755
index 0000000..1131aed
--- /dev/null
+++ b/setupbuild
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+export PKG_CONFIG_PATH=/opt/xserver-xir-install/lib/pkgconfig:${PKG_CONFIG_PATH}
+export LD_LIBRARY_PATH=/opt/xserver-xir-install/lib/:${LD_LIBRARY_PATH}
+export LD_RUN_PATH=/opt/xserver-xir-install/lib/:${LD_RUN_PATH}
+export BUILD_GLOBAL=true
+make
+make install