goat3dgfx
view examples/viewscn/Makefile @ 22:92bfb0206969
- made all XFormNode functions virtual
- added XFormNode::get_parent()
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 28 Dec 2013 06:48:23 +0200 |
parents | |
children |
line source
1 src = $(wildcard src/*.cc)
2 obj = $(src:.cc=.o)
3 bin = viewscn
5 CXXFLAGS = -pedantic -Wall -g
6 LDFLAGS = $(libgl) -lgoat3dgfx -lvmath
8 ifeq ($(shell uname -s), Darwin)
9 libgl = -framework OpenGL -framework GLUT -lGLEW
10 else
11 libgl = -lGL -lGLU -lglut -lGLEW
12 endif
14 $(bin): $(obj)
15 $(CXX) -o $@ $(obj) $(LDFLAGS)
17 .PHONY: clean
18 clean:
19 rm -f $(obj) $(bin)