source: nanovis/trunk/graphics/Makefile.in @ 5303

Last change on this file since 5303 was 3630, checked in by ldelgass, 11 years ago

Nanovis refactoring to fix problems with scaling and multiple results.
Do rendering in world space to properly place and scale multiple data sets.
Also fix flows to reduce resets of animations. More work toward removing
Cg dependency. Fix panning to convert viewport coords to world coords.

File size: 1.2 KB
Line 
1
2SHELL = /bin/sh
3
4.PHONY: all install clean distclean
5
6bindir          = @bindir@
7datadir         = @datadir@
8datarootdir     = @datarootdir@
9exec_prefix     = @exec_prefix@
10includedir      = @includedir@
11libdir          = @libdir@
12mandir          = @mandir@
13prefix          = @prefix@
14srcdir          = @srcdir@
15
16INSTALL         = @INSTALL@
17INSTALL_PROGRAM = ${INSTALL} -m 555
18INSTALL_DATA    = ${INSTALL} -m 444
19INSTALL_SCRIPT  = ${INSTALL} -m 444
20RM              = rm -f
21AR              = ar rc
22RANLIB          = @RANLIB@
23CC              = @CC@
24CXX             = @CXX@
25VPATH           = $(srcdir)
26
27RP_DIR          =  @RP_DIR@
28RP_INC_SPEC     = -I$(RP_DIR)/include -I$(RP_DIR)/include/rappture2
29
30INCLUDES        = \
31                -I$(srcdir)/include \
32                -I$(srcdir)/.. \
33                $(RP_INC_SPEC)
34
35CFLAGS          = @CFLAGS@
36EXTRA_CFLAGS    = -Wall
37DEFINES         = @DEFINES@
38CXX_SWITCHES    = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES)
39
40NVGRAPHICSLIB   = nvgraphics.a
41
42OBJS            = \
43                Geometry.o \
44                IndexBuffer.o \
45                RenderContext.o \
46                VertexBuffer.o
47
48all: $(NVGRAPHICSLIB)
49
50install: all
51
52$(NVGRAPHICSLIB): $(OBJS)
53        $(RM) $@
54        $(AR) $@ $(OBJS)
55        $(RANLIB) $@
56
57.cpp.o:
58        $(CXX) $(CXX_SWITCHES) -o $@ -c $<
59
60clean:
61        $(RM) *.a *.o
62
63distclean: clean
64        $(RM) Makefile *~
65
66Geometry.o: Geometry.h IndexBuffer.h VertexBuffer.h
67IndexBuffer.o: IndexBuffer.h
68RenderContext.o: RenderContext.h
69VertexBuffer.o: VertexBuffer.h
Note: See TracBrowser for help on using the repository browser.