ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/Rmakefile
Revision: 1.5
Committed: Fri Jul 19 09:25:45 1991 UTC (32 years, 9 months ago) by greg
Branch: MAIN
Changes since 1.4: +6 -1 lines
Log Message:
added separate readfargs() and freefargs() routines

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 greg 1.5 octree.o readfargs.o
14 greg 1.1
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.5
28     install: librt.a
29    
30     clean:
31     rm -f $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
32 greg 1.3
33     fropen.o: fropen.c
34     cc $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c
35 greg 1.1
36 greg 1.4 calexpr.o: calexpr.c calcomp.h
37     cc $(CFLAGS) -DVARIABLE -DFUNCTION -DRCONST -c calexpr.c
38    
39     caldefn.o: caldefn.c calcomp.h
40     cc $(CFLAGS) -DFUNCTION -c caldefn.c
41    
42     calfunc.o: calfunc.c calcomp.h
43     cc $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c
44    
45 greg 1.1 color.o colrops.o resolu.o spec_rgb.o: color.h
46    
47     cone.o: cone.h
48    
49     face.o: face.h
50    
51     fvect.o: fvect.h
52    
53     instance.o: instance.h
54    
55     linregr.o: linregr.h
56    
57 greg 1.2 mat4.o: mat4.h fvect.h
58 greg 1.1
59     cone.o face.o instance.o objset.o otypes.o \
60     readobj.o readoct.o: object.h
61    
62     objset.o octree.o readoct.o: octree.h
63    
64     cone.o objset.o otypes.o readobj.o readoct.o: otypes.h
65    
66     urand.o: random.h
67    
68     cone.o face.o image.o instance.o misc.o objset.o octree.o \
69     otypes.o readobj.o readoct.o xf.o: standard.h mat4.h fvect.h
70    
71     image.o: view.h
72 greg 1.4
73     calprnt.o: calcomp.h