Added -g -Wall to CXXFLAGS, moved -I stuff to CPPFLAGS.
[ccbs] / bigscreen / Makefile
1 CC=gcc
2 CXX=g++
3 CPPFLAGS=-I/usr/include/postgresql
4 CXXFLAGS=-g -Wall
5 LDFLAGS=-L/usr/X11R6/lib
6 LIBS=-lGL -lX11 -lXext -lXxf86vm $(shell libpq3-config) -lpqxx
7 CCBS_BIGSCREEN_OBJS=ccbs_bigscreen.o glwindow.o
8
9 all: ccbs-bigscreen
10
11 ccbs-bigscreen: $(CCBS_BIGSCREEN_OBJS)
12         $(CXX) -o ccbs-bigscreen $(CCBS_BIGSCREEN_OBJS) $(LDFLAGS) $(LIBS)
13
14 clean:
15         $(RM) $(CCBS_BIGSCREEN_OBJS) ccbs-bigscreen
16
17 .PHONY: clean