]> git.sesse.net Git - ccbs/commitdiff
Compile TinyPTC with Xshm.
authorSteinar H. Gunderson <sesse@samfundet.no>
Mon, 21 Feb 2005 17:49:48 +0000 (17:49 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Mon, 21 Feb 2005 17:49:48 +0000 (17:49 +0000)
bigscreen/Makefile
bigscreen/tinyptc/tinyptc.h

index 07177b6f1034cd8ec3e0bc00b15c693f7016f3b2..ddb0f55df71461a308b96d9f48acab27922ee1bf 100644 (file)
@@ -3,7 +3,7 @@ CXX=g++
 CPPFLAGS=-I/usr/include/postgresql $(shell freetype-config --cflags) -Itinyptc/
 CXXFLAGS=-g -Wall
 LDFLAGS=-L/usr/X11R6/lib
-LIBS=$(shell freetype-config --libs) $(shell libpq3-config) -lpqxx tinyptc/libtinyptc.a -lX11
+LIBS=$(shell freetype-config --libs) $(shell libpq3-config) -lpqxx tinyptc/libtinyptc.a -lX11 -lXext
 CCBS_BIGSCREEN_OBJS=ccbs_bigscreen.o flagtrigger.o widestring.o fetch_current_tournament.o fetch_list_of_active_groups.o fetch_max_score_for_songs.o fetch_max_score_for_players.o fetch_group.o fetch_needs_update.o fetch_highscore.o fonts.o groupscreen.o splitscreen.o rotatescreen.o screen.o
 
 all: ccbs-bigscreen
index 5fee0de9d382b29e25b65a90ac304f44c6e5548f..a6cf0aa73f167076addb9806035f95a2c9210146 100644 (file)
@@ -62,12 +62,12 @@ typedef unsigned char char8;
 
 /* If you uncomment this directive, you'll choose raw xlib video rendering */
 
-#define __PTC_XLIB__
+/* #define __PTC_XLIB__ */
 
 /* If you uncomment this directive, you'll choose X Shared memory extension
  * video rendering */
 
-/* #define __PTC_XSHM__ */
+#define __PTC_XSHM__
 
 /* If you uncomment this directive, you'll choose X Double buffer extension
  * video rendering */