Import TinyPTC 0.7.3 sources, switch from OpenGL to TinyPTC for now.
[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=-lGL -lX11 -lXext -lXxf86vm $(shell freetype-config --libs) $(shell libpq3-config) -lpqxx tinyptc/libtinyptc.a
7 CCBS_BIGSCREEN_OBJS=ccbs_bigscreen.o glwindow.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