]> git.sesse.net Git - ccbs/blob - bigscreen/Makefile
Support a variable-length list of fallback fonts (and support Arial MS Unicode) inste...
[ccbs] / bigscreen / Makefile
1 CC=gcc
2 CXX=g++
3 CPPFLAGS=-I/usr/include/postgresql $(shell freetype-config --cflags) -Itinyptc/
4 CXXFLAGS=-g -Wall
5 LDFLAGS=-L/usr/X11R6/lib
6 LIBS=$(shell freetype-config --libs) $(shell libpq3-config) -lpqxx tinyptc/libtinyptc.a -lX11
7 CCBS_BIGSCREEN_OBJS=ccbs_bigscreen.o
8
9 all: ccbs-bigscreen
10
11 tinyptc/libtinyptc.a:
12         $(MAKE) -C tinyptc
13
14 ccbs-bigscreen: $(CCBS_BIGSCREEN_OBJS) tinyptc/libtinyptc.a
15         $(CXX) -o ccbs-bigscreen $(CCBS_BIGSCREEN_OBJS) $(LDFLAGS) $(LIBS)
16
17 clean:
18         $(RM) $(CCBS_BIGSCREEN_OBJS) ccbs-bigscreen
19         $(MAKE) -C tinyptc clean
20
21 .PHONY: clean