CC=gcc
CXX=g++
CPPFLAGS=-I/usr/include/postgresql $(shell freetype-config --cflags) -Itinyptc/
-CXXFLAGS=-g -Wall
+CXXFLAGS=-O2 -Wall
LDFLAGS=-L/usr/X11R6/lib
-LIBS=$(shell freetype-config --libs) $(shell libpq3-config) -lpqxx tinyptc/libtinyptc.a -lX11 -lXext
+LIBS=$(shell freetype-config --libs) -lpqxx tinyptc/libtinyptc.a -lX11 -lXext -lXxf86vm -lXxf86dga
CCBS_BIGSCREEN_SQL_OBJS=fetch_current_tournament.o fetch_list_of_active_groups.o \
+ fetch_list_of_finished_groups.o \
fetch_max_score_for_songs.o fetch_max_score_for_players.o fetch_group.o \
fetch_needs_update.o fetch_highscore.o fetch_top_scores_for_tournament.o \
fetch_top_chosen_songs_for_tournament.o fetch_auxilliary_screens.o