[37] | 1 | #! gmake |
---|
| 2 | |
---|
| 3 | # |
---|
| 4 | # Brian Curless |
---|
| 5 | # |
---|
| 6 | # Computer Graphics Laboratory |
---|
| 7 | # Stanford University |
---|
| 8 | # |
---|
| 9 | # --------------------------------------------------------------------- |
---|
| 10 | # |
---|
| 11 | # Copyright (1997) The Board of Trustees of the Leland Stanford Junior |
---|
| 12 | # University. Except for commercial resale, lease, license or other |
---|
| 13 | # commercial transactions, permission is hereby given to use, copy, |
---|
| 14 | # modify this software for academic purposes only. No part of this |
---|
| 15 | # software or any derivatives thereof may be used in the production of |
---|
| 16 | # computer models for resale or for use in a commercial |
---|
| 17 | # product. STANFORD MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND |
---|
| 18 | # CONCERNING THIS SOFTWARE. No support is implied or provided. |
---|
| 19 | # |
---|
| 20 | |
---|
| 21 | CSRCS = |
---|
| 22 | |
---|
| 23 | CXXSRCS = vripInit.cc vripMain.cc vripMiscCmds.cc OccGrid.cc \ |
---|
| 24 | OccGridRLE.cc plyio.cc DepthMap.cc Mesh.cc softRenderGeom.cc \ |
---|
| 25 | ChunkAllocator.cc ChunkLink.cc DepthMapAux.cc \ |
---|
| 26 | vripFillCmds.cc vripFileCmds.cc vripGridCmds.cc vripRangeCmds.cc \ |
---|
| 27 | vripGUICmds.cc vripGlobals.cc vripAux.cc BBox3f.cc rangePly.cc \ |
---|
| 28 | linePersp.cc perspective.cc scan.cc scanRLE.cc scanLinePerspRLE.cc \ |
---|
| 29 | configure.cc occFunc.cc resample.cc OccGridNormRLE.cc scanNormRLE.cc \ |
---|
| 30 | vripPlyCmds.cc scanPerspRLE.cc |
---|
| 31 | |
---|
| 32 | TARGETS = vrip vriphead |
---|
| 33 | |
---|
| 34 | LIBS = -lply -llinear -ltk -ltcl -ldl \ |
---|
| 35 | -lsl -lc -lm |
---|
| 36 | |
---|
| 37 | ROOT = ../.. |
---|
| 38 | |
---|
| 39 | -include ../compile-flags |
---|
| 40 | |
---|
| 41 | vrip: $(OBJS) |
---|
| 42 | $(CXX) -o $@ $(OBJS) $(LIBPATHS) $(LIBS) |
---|
| 43 | |
---|
| 44 | vriphead: vriphead.o |
---|
| 45 | $(CXX) -o $@ vriphead.o $(LIBPATHS) $(LIBS) |
---|
| 46 | |
---|
| 47 | cysiltoply: cysiltoply.o strings.o |
---|
| 48 | $(CXX) -o $@ cysiltoply.o strings.o $(LIBPATHS) -limg -limage $(LIBS) |
---|
| 49 | |
---|
| 50 | gltest: gltest.o |
---|
| 51 | $(CXX) -o $@ gltest.o -lgl |
---|
| 52 | |
---|
| 53 | gltest2: gltest2.o |
---|
| 54 | $(CXX) -o $@ gltest2.o -lgl |
---|
| 55 | |
---|