Reset bigscreen on changed groups, not just changed tournaments.
[ccbs] / bigscreen / Makefile
index f430885..e3cd02c 100644 (file)
@@ -1,14 +1,21 @@
 CC=gcc
 CXX=g++
-LIBS=-lGL -lX11 -lXext -lXxf86vm
-CCBS_BIGSCREEN_OBJS=ccbs_bigscreen.o glwindow.o
+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
+CCBS_BIGSCREEN_OBJS=ccbs_bigscreen.o
 
 all: ccbs-bigscreen
 
-ccbs-bigscreen: $(CCBS_BIGSCREEN_OBJS)
+tinyptc/libtinyptc.a:
+       $(MAKE) -C tinyptc
+
+ccbs-bigscreen: $(CCBS_BIGSCREEN_OBJS) tinyptc/libtinyptc.a
        $(CXX) -o ccbs-bigscreen $(CCBS_BIGSCREEN_OBJS) $(LDFLAGS) $(LIBS)
 
 clean:
        $(RM) $(CCBS_BIGSCREEN_OBJS) ccbs-bigscreen
+       $(MAKE) -C tinyptc clean
 
 .PHONY: clean