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.10 by greg, Sun Feb 17 22:37:05 1991 UTC vs.
Revision 2.2 by greg, Wed Jul 1 15:07:08 1992 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines