From 0e850dfa1082de332f7a58bedb825579f5fc53cb Mon Sep 17 00:00:00 2001 From: Alexandre Quessy Date: Tue, 17 Nov 2009 18:21:36 +0000 Subject: adding build.sh, trying to build x11 externals for ubuntu 8.10 svn path=/trunk/externals/aalex/; revision=12792 --- build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..872dcc7 --- /dev/null +++ b/build.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -o verbose +CFGLAGS=`pkg-config --cflags x11 xcb-xlib xcb xcursor libxml-2.0 gtk+-x11-2.0 gtk+-2.0 glib-2.0 gmodule-2.0` +LIBS=`pkg-config --libs x11 xcb-xlib xcb xcursor libxml-2.0 gtk+-x11-2.0 gtk+-2.0 glib-2.0 gmodule-2.0` +INCLUDES="-I../src -I../../pd/src" + +gcc -Wall -Werror $INCLUDES $CFLAGS -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -fPIC -lm -lc -o x11key.o -c x11key.c +ld -shared -o x11key.pd_linux x11key.o -lc -lm $LIBS +strip --strip-unneeded x11key.pd_linux + -- cgit v1.2.1