ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/gen/Rmakefile
(Generate patch)

Comparing ray/src/gen/Rmakefile (file contents):
Revision 1.17 by greg, Wed Jul 24 16:48:28 1991 UTC vs.
Revision 2.4 by greg, Thu Dec 9 17:29:24 1993 UTC

# Line 5 | Line 5
5   #
6  
7   OPT = -O
8 < MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/libm.il -DIEEE
9 < CFLAGS = $(MACH) $(OPT) -I../common
8 > MACH = -DBSD
9 > CFLAGS = $(MACH) $(OPT) -I../common -L../lib
10 > CC = cc
11 > MLIB = -lm
12  
13 < INSTDIR = /lumen/lumen/ray/bin.sun3
13 > INSTDIR = /usr/local/bin
14  
15 + LIBDIR = /usr/local/lib/ray
16 +
17   PROGS = genbox gensky xform genblinds genrev genworm \
18                  gensurf genprism replmarks mkillum
19  
20 + CALFILES = illum.cal rev.cal skybright.cal surf.cal
21 +
22   all:    $(PROGS)
23  
24 < install:        $(PROGS) genpine.csh genwindow.csh
24 > install:        $(PROGS) $(CALFILES)
25          cp $(PROGS) $(INSTDIR)
26 <        cp genwindow.csh $(INSTDIR)/genwindow
27 <        chmod 755 $(INSTDIR)/genwindow
26 >        cd $(LIBDIR) ; rm -f $(CALFILES)
27 >        cp $(CALFILES) $(LIBDIR)
28  
29   clean:
30          set nonomatch; rm -f $(PROGS) *.o core
31  
32   genbeads:       genbeads.o hermite3.o
33 <        cc $(CFLAGS) -o genbeads genbeads.o hermite3.o -lm
33 >        $(CC) $(CFLAGS) -o genbeads genbeads.o hermite3.o $(MLIB)
34  
35   genbox: genbox.o
36 <        cc $(CFLAGS) -o genbox genbox.o
36 >        $(CC) $(CFLAGS) -o genbox genbox.o
37  
38   genmarble:      genmarble.o ../common/random.h
39 <        cc $(CFLAGS) -o genmarble genmarble.o -lm
39 >        $(CC) $(CFLAGS) -o genmarble genmarble.o $(MLIB)
40  
41   gensky: gensky.o sun.o
42 <        cc $(CFLAGS) -o gensky gensky.o sun.o -lm
42 >        $(CC) $(CFLAGS) -o gensky gensky.o sun.o $(MLIB)
43  
44   genblinds:      genblinds.o
45 <        cc $(CFLAGS) -o genblinds genblinds.o -lm
45 >        $(CC) $(CFLAGS) -o genblinds genblinds.o $(MLIB)
46  
47   genprism:       genprism.o
48 <        cc $(CFLAGS) -o genprism genprism.o
48 >        $(CC) $(CFLAGS) -o genprism genprism.o
49  
50   xform:  xform.o
51 <        cc $(CFLAGS) -o xform xform.o ../common/librt.a -lm
51 >        $(CC) $(CFLAGS) -o xform xform.o -lrt $(MLIB)
52  
53   replmarks:      replmarks.o
54 <        cc $(CFLAGS) -o replmarks replmarks.o ../common/librt.a -lm
54 >        $(CC) $(CFLAGS) -o replmarks replmarks.o -lrt $(MLIB)
55  
56   mkillum:        mkillum.o mkillum2.o mkillum3.o
57 <        cc $(CFLAGS) -o mkillum mkillum.o mkillum2.o mkillum3.o \
52 < ../common/librt.a -lm
57 >        $(CC) $(CFLAGS) -o mkillum mkillum.o mkillum2.o mkillum3.o -lrt $(MLIB)
58  
59   genrev: genrev.o
60 <        cc $(CFLAGS) -o genrev genrev.o ../common/librt.a -lm
60 >        $(CC) $(CFLAGS) -o genrev genrev.o -lrt $(MLIB)
61  
62   genworm:        genworm.o
63 <        cc $(CFLAGS) -o genworm genworm.o ../common/librt.a -lm
63 >        $(CC) $(CFLAGS) -o genworm genworm.o -lrt $(MLIB)
64  
65   gensurf:        gensurf.o
66 <        cc $(CFLAGS) -o gensurf gensurf.o ../common/librt.a -lm
66 >        $(CC) $(CFLAGS) -o gensurf gensurf.o -lrt $(MLIB)
67  
68   genbranch:      genbranch.o
69 <        cc $(CFLAGS) -o genbranch genbranch.o -lm
69 >        $(CC) $(CFLAGS) -o genbranch genbranch.o $(MLIB)
70  
71   gensurf.o:      ../common/standard.h ../common/mat4.h ../common/fvect.h
72  
# Line 72 | Line 77 | xform.o:       ../common/standard.h ../common/mat4.h ../comm
77  
78   mkillum.o mkillum2.o mkillum3.o:        mkillum.h ../common/standard.h \
79   ../common/mat4.h ../common/fvect.h ../common/otypes.h ../common/object.h
80 +
81 + gensky.o:       ../common/color.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines