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.6 by greg, Wed Oct 18 17:44:07 1989 UTC vs.
Revision 1.22 by greg, Thu Nov 7 11:05:20 1991 UTC

# Line 5 | Line 5
5   #
6  
7   OPT = -O
8 < MACH = -f68881 /usr/lib/f68881.il -DIEEE
9 < CFLAGS = $(MACH) $(OPT)
8 > MACH = -DBSD
9 > CFLAGS = $(MACH) $(OPT) -I../common -L../lib
10  
11 < INSTDIR = /usr/local/ray
11 > INSTDIR = /usr/local/bin
12  
13 + LIBDIR = /usr/local/lib/ray
14 +
15   PROGS = genbox gensky xform genblinds genrev genworm \
16 <                gensurf genprism
16 >                gensurf genprism replmarks mkillum
17  
18 + CALFILES = illum.cal rev.cal skybright.cal surf.cal
19 +
20   all:    $(PROGS)
21  
22 < install:        $(PROGS) genpine.csh genwindow.csh
22 > install:        $(PROGS) genpine.csh genwindow.csh $(CALFILES)
23          cp $(PROGS) $(INSTDIR)
24 <        install genpine.csh $(INSTDIR)/genpine
25 <        install genwindow.csh $(INSTDIR)/genwindow
24 >        cp genwindow.csh $(INSTDIR)/genwindow
25 >        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
34  
35   genbox: genbox.o
36          cc $(CFLAGS) -o genbox genbox.o
37  
38 < genmarble:      genmarble.o random.h
38 > genmarble:      genmarble.o ../common/random.h
39          cc $(CFLAGS) -o genmarble genmarble.o -lm
40  
41   gensky: gensky.o sun.o
# Line 38 | Line 47 | genblinds:     genblinds.o
47   genprism:       genprism.o
48          cc $(CFLAGS) -o genprism genprism.o
49  
50 < xform:  xform.o xf.o mat4.o fgetline.o
51 <        cc $(CFLAGS) -o xform xform.o xf.o mat4.o fgetline.o -lm
50 > xform:  xform.o
51 >        cc $(CFLAGS) -o xform xform.o -lrt -lm
52  
53 < genrev: genrev.o calexpr.o caldefn.o calfunc.o \
54 < ealloc.o savestr.o
46 <        cc $(CFLAGS) -o genrev genrev.o caldefn.o calexpr.o \
47 < calfunc.o ealloc.o savestr.o -lm
53 > replmarks:      replmarks.o
54 >        cc $(CFLAGS) -o replmarks replmarks.o -lrt -lm
55  
56 < genworm:        genworm.o calexpr.o caldefn.o calfunc.o \
57 < ealloc.o savestr.o fvect.o
51 <        cc $(CFLAGS) -o genworm genworm.o caldefn.o calexpr.o \
52 < calfunc.o ealloc.o savestr.o fvect.o -lm
56 > mkillum:        mkillum.o mkillum2.o mkillum3.o
57 >        cc $(CFLAGS) -o mkillum mkillum.o mkillum2.o mkillum3.o -lrt -lm
58  
59 < gensurf:        gensurf.o fvect.o calexpr.o caldefn.o calfunc.o \
60 < ealloc.o savestr.o
56 <        cc $(CFLAGS) -o gensurf gensurf.o caldefn.o calexpr.o \
57 < calfunc.o ealloc.o savestr.o fvect.o -lm
59 > genrev: genrev.o
60 >        cc $(CFLAGS) -o genrev genrev.o -lrt -lm
61  
62 + genworm:        genworm.o
63 +        cc $(CFLAGS) -o genworm genworm.o -lrt -lm
64 +
65 + gensurf:        gensurf.o
66 +        cc $(CFLAGS) -o gensurf gensurf.o -lrt -lm
67 +
68   genbranch:      genbranch.o
69          cc $(CFLAGS) -o genbranch genbranch.o -lm
70  
71 < calexpr.o:      calexpr.c calcomp.h
63 <        cc $(CFLAGS) -c -DVARIABLE -DFUNCTION -DRCONST calexpr.c
71 > gensurf.o:      ../common/standard.h ../common/mat4.h ../common/fvect.h
72  
73 < caldefn.o:      caldefn.c calcomp.h
66 <        cc $(CFLAGS) -c -DFUNCTION caldefn.c
73 > genworm.o replmarks.o:  ../common/fvect.h
74  
75 < calfunc.o:      calfunc.c calcomp.h
76 <        cc $(CFLAGS) -c -DVARIABLE -DBIGLIB calfunc.c
75 > xform.o:        ../common/standard.h ../common/mat4.h ../common/fvect.h \
76 > ../common/otypes.h ../common/object.h
77  
78 < fvect.o gensurf.o genworm.o:    fvect.h
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