Last change
on this file since 4599 was
3567,
checked in by ldelgass, 11 years ago
|
Refactor and cleanups in nanovis, mainly to switch to using STL hash tables
(TR1 required) instead of Tcl hash tables, split out Flow particles and boxes
to separate implementation files. The goal is to achieve better separation of
Tcl command parsing and the core graphics rendering objects and code.
|
File size:
2.3 KB
|
Line | |
---|
1 | |
---|
2 | SHELL = /bin/sh |
---|
3 | |
---|
4 | .PHONY: all install clean distclean |
---|
5 | |
---|
6 | bindir = @bindir@ |
---|
7 | datadir = @datadir@ |
---|
8 | datarootdir = @datarootdir@ |
---|
9 | exec_prefix = @exec_prefix@ |
---|
10 | includedir = @includedir@ |
---|
11 | libdir = @libdir@ |
---|
12 | mandir = @mandir@ |
---|
13 | prefix = @prefix@ |
---|
14 | srcdir = @srcdir@ |
---|
15 | |
---|
16 | INSTALL = @INSTALL@ |
---|
17 | INSTALL_PROGRAM = ${INSTALL} -m 555 |
---|
18 | INSTALL_DATA = ${INSTALL} -m 444 |
---|
19 | INSTALL_SCRIPT = ${INSTALL} -m 444 |
---|
20 | RM = rm -f |
---|
21 | AR = ar rc |
---|
22 | RANLIB = @RANLIB@ |
---|
23 | CC = @CC@ |
---|
24 | CXX = @CXX@ |
---|
25 | VPATH = $(srcdir) |
---|
26 | |
---|
27 | RP_DIR = @RP_DIR@ |
---|
28 | RP_INC_SPEC = -I$(RP_DIR)/include -I$(RP_DIR)/include/rappture2 |
---|
29 | |
---|
30 | INCLUDES = \ |
---|
31 | -I$(srcdir)/include \ |
---|
32 | -I$(srcdir)/.. \ |
---|
33 | $(RP_INC_SPEC) |
---|
34 | |
---|
35 | CFLAGS = @CFLAGS@ |
---|
36 | EXTRA_CFLAGS = -Wall |
---|
37 | DEFINES = @DEFINES@ |
---|
38 | CXX_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) |
---|
39 | |
---|
40 | VRMATHLIB = vrmath.a |
---|
41 | |
---|
42 | # BBox.o \ |
---|
43 | # BPlane.o \ |
---|
44 | # Projection.o \ |
---|
45 | |
---|
46 | OBJS = \ |
---|
47 | LineSegment.o \ |
---|
48 | Matrix4x4f.o \ |
---|
49 | Matrix4x4d.o \ |
---|
50 | Plane.o \ |
---|
51 | Quaternion.o \ |
---|
52 | Rotation.o \ |
---|
53 | Vector2f.o \ |
---|
54 | Vector3f.o \ |
---|
55 | Vector4f.o \ |
---|
56 | |
---|
57 | .PHONY: all install clean distclean |
---|
58 | |
---|
59 | all: $(VRMATHLIB) |
---|
60 | |
---|
61 | install: all |
---|
62 | |
---|
63 | $(VRMATHLIB): $(OBJS) |
---|
64 | $(RM) $@ |
---|
65 | $(AR) $@ $(OBJS) |
---|
66 | $(RANLIB) $@ |
---|
67 | |
---|
68 | .cpp.o: |
---|
69 | $(CXX) $(CXX_SWITCHES) -o $@ -c $< |
---|
70 | |
---|
71 | clean: |
---|
72 | $(RM) $(VRMATHLIB) $(OBJS) |
---|
73 | |
---|
74 | distclean: clean |
---|
75 | $(RM) Makefile *~ |
---|
76 | |
---|
77 | BBox.o: $(srcdir)/include/vrmath/BBox.h $(srcdir)/include/vrmath/Vector3f.h |
---|
78 | BPlane.o: $(srcdir)/include/vrmath/BPlane.h $(srcdir)/include/vrmath/Vector3f.h $(srcdir)/include/vrmath/LineSegment.h |
---|
79 | LineSegment.o: $(srcdir)/include/vrmath/LineSegment.h |
---|
80 | Matrix4x4d.o: $(srcdir)/include/vrmath/Matrix4x4d.h $(srcdir)/include/vrmath/Vector3f.h $(srcdir)/include/vrmath/Vector4f.h $(srcdir)/include/vrmath/Rotation.h |
---|
81 | Matrix4x4f.o: $(srcdir)/include/vrmath/Matrix4x4f.h $(srcdir)/include/vrmath/Vector3f.h $(srcdir)/include/vrmath/Vector4f.h $(srcdir)/include/vrmath/Rotation.h |
---|
82 | Plane.o: $(srcdir)/include/vrmath/Plane.h $(srcdir)/include/vrmath/Matrix4x4f.h |
---|
83 | Quaternion.o: $(srcdir)/include/vrmath/Quaternion.h $(srcdir)/include/vrmath/Rotation.h $(srcdir)/include/vrmath/Vector3f.h |
---|
84 | Rotation.o: $(srcdir)/include/vrmath/Quaternion.h $(srcdir)/include/vrmath/Rotation.h $(srcdir)/include/vrmath/Vector3f.h |
---|
85 | Vector2f.o: $(srcdir)/include/vrmath/Vector2f.h |
---|
86 | Vector3f.o: $(srcdir)/include/vrmath/Vector3f.h $(srcdir)/include/vrmath/Matrix4x4f.h |
---|
87 | Vector4f.o: $(srcdir)/include/vrmath/Vector4f.h $(srcdir)/include/vrmath/Matrix4x4f.h |
---|
Note: See
TracBrowser
for help on using the repository browser.