ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/Rmakefile
Revision: 1.4
Committed: Tue Jul 16 10:28:51 1991 UTC (32 years, 9 months ago) by greg
Branch: MAIN
Changes since 1.3: +12 -0 lines
Log Message:
added calcomp routines to library

File Contents

# User Rev Content
1 greg 1.1 #
2     # SCCSid "$SunId$ LBL"
3     # Makefile for ray tracing library routines
4     #
5    
6     OPT = -O -pipe
7     MACH = -DSTRUCTASSIGN -DBSD -DIEEE -f68881 /usr/lib/libm.il
8     CFLAGS = $(MACH) $(OPT)
9    
10 greg 1.3 LIBDIR = /usr/local/lib/ray
11    
12 greg 1.1 RTOBJ = cone.o face.o instance.o readobj.o readoct.o otypes.o objset.o \
13     octree.o
14    
15     PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \
16     colrops.o
17    
18 greg 1.3 STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o misc.o fvect.o \
19 greg 1.4 calexpr.o caldefn.o calfunc.o calprnt.o \
20 greg 1.1 savestr.o urand.o cputs.o wputs.o eputs.o quit.o
21    
22     SYSOBJ = ealloc.o bmalloc.o # erf.o frexp.o fwrite.o random.o bcopy.o
23    
24     librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
25     ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
26     @ ranlib librt.a
27 greg 1.3
28     fropen.o: fropen.c
29     cc $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c
30 greg 1.1
31 greg 1.4 calexpr.o: calexpr.c calcomp.h
32     cc $(CFLAGS) -DVARIABLE -DFUNCTION -DRCONST -c calexpr.c
33    
34     caldefn.o: caldefn.c calcomp.h
35     cc $(CFLAGS) -DFUNCTION -c caldefn.c
36    
37     calfunc.o: calfunc.c calcomp.h
38     cc $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c
39    
40 greg 1.1 color.o colrops.o resolu.o spec_rgb.o: color.h
41    
42     cone.o: cone.h
43    
44     face.o: face.h
45    
46     fvect.o: fvect.h
47    
48     instance.o: instance.h
49    
50     linregr.o: linregr.h
51    
52 greg 1.2 mat4.o: mat4.h fvect.h
53 greg 1.1
54     cone.o face.o instance.o objset.o otypes.o \
55     readobj.o readoct.o: object.h
56    
57     objset.o octree.o readoct.o: octree.h
58    
59     cone.o objset.o otypes.o readobj.o readoct.o: otypes.h
60    
61     urand.o: random.h
62    
63     cone.o face.o image.o instance.o misc.o objset.o octree.o \
64     otypes.o readobj.o readoct.o xf.o: standard.h mat4.h fvect.h
65    
66     image.o: view.h
67 greg 1.4
68     calprnt.o: calcomp.h