stereoview

view Makefile @ 2:30c7a5df0523

- added focus distance cmdline argument - changed the code to use the regular henge::Scene when using the zbuffer
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 04 Mar 2011 15:51:03 +0200
parents
children 59fd3f6948fe
line source
1 src = $(wildcard src/*.cc)
2 obj = $(src:.cc=.o)
3 bin = stereoview
5 CXX = g++
6 CXXFLAGS = -pedantic -Wall -g `pkg-config --cflags henge2`
7 LDFLAGS = `pkg-config --libs henge2` $(libgl)
9 ifneq ($(shell uname -s), Darwin)
10 libgl = -lGL -lGLU -lglut
11 else
12 libgl = -framework OpenGL -framework GLUT
13 endif
15 $(bin): $(obj)
16 $(CXX) -o $@ $(obj) $(LDFLAGS)
18 .PHONY: clean
19 clean:
20 rm -f $(obj) $(bin)