X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=bigscreen%2FMakefile;h=cf4fcb9b06b2f44f544ecec93bf95e4b990ce47f;hb=57c939a53665f808b2429461d547271adf2c5908;hp=9ad6ad1a462c1a5e0c6d6109aed2f3e36499604f;hpb=a7d8519f7daa4b16677b558e974ad04afb419fa8;p=ccbs diff --git a/bigscreen/Makefile b/bigscreen/Makefile index 9ad6ad1..cf4fcb9 100644 --- a/bigscreen/Makefile +++ b/bigscreen/Makefile @@ -1,17 +1,21 @@ CC=gcc CXX=g++ -CPPFLAGS=-I/usr/include/postgresql +CPPFLAGS=-I/usr/include/postgresql $(shell freetype-config --cflags) -Itinyptc/ CXXFLAGS=-g -Wall LDFLAGS=-L/usr/X11R6/lib -LIBS=-lGL -lX11 -lXext -lXxf86vm $(shell libpq3-config) -lpqxx -CCBS_BIGSCREEN_OBJS=ccbs_bigscreen.o glwindow.o +LIBS=$(shell freetype-config --libs) $(shell libpq3-config) -lpqxx tinyptc/libtinyptc.a -lX11 +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_player.o fetch_group.o fetch_needs_update.o fetch_highscore.o fonts.o groupscreen.o splitscreen.o rotatescreen.o screen.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