ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/gen/Rmakefile
Revision: 1.18
Committed: Thu Aug 22 08:55:34 1991 UTC (33 years, 2 months ago) by greg
Branch: MAIN
Changes since 1.17: +7 -1 lines
Log Message:
added cal files

File Contents

# User Rev Content
1 greg 1.1 # SCCSid "$SunId$ LBL"
2    
3     #
4     # Makefile for object generation programs
5     #
6    
7 greg 1.5 OPT = -O
8 greg 1.12 MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/libm.il -DIEEE
9 greg 1.16 CFLAGS = $(MACH) $(OPT) -I../common
10 greg 1.1
11 greg 1.12 INSTDIR = /lumen/lumen/ray/bin.sun3
12 greg 1.1
13 greg 1.18 LIBDIR = /lumen/lumen/ray/lib
14    
15 greg 1.1 PROGS = genbox gensky xform genblinds genrev genworm \
16 greg 1.17 gensurf genprism replmarks mkillum
17 greg 1.1
18 greg 1.18 CALFILES = illum.cal rev.cal skybright.cal surf.cal
19    
20 greg 1.1 all: $(PROGS)
21    
22 greg 1.18 install: $(PROGS) genpine.csh genwindow.csh $(CALFILES)
23 greg 1.1 cp $(PROGS) $(INSTDIR)
24 greg 1.11 cp genwindow.csh $(INSTDIR)/genwindow
25     chmod 755 $(INSTDIR)/genwindow
26 greg 1.18 cd $(LIBDIR) ; rm -f $(CALFILES)
27     cp $(CALFILES) $(LIBDIR)
28 greg 1.11
29     clean:
30 greg 1.13 set nonomatch; rm -f $(PROGS) *.o core
31 greg 1.1
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 greg 1.16 genmarble: genmarble.o ../common/random.h
39 greg 1.1 cc $(CFLAGS) -o genmarble genmarble.o -lm
40    
41     gensky: gensky.o sun.o
42     cc $(CFLAGS) -o gensky gensky.o sun.o -lm
43    
44     genblinds: genblinds.o
45     cc $(CFLAGS) -o genblinds genblinds.o -lm
46    
47     genprism: genprism.o
48     cc $(CFLAGS) -o genprism genprism.o
49    
50 greg 1.16 xform: xform.o
51     cc $(CFLAGS) -o xform xform.o ../common/librt.a -lm
52 greg 1.1
53 greg 1.16 replmarks: replmarks.o
54     cc $(CFLAGS) -o replmarks replmarks.o ../common/librt.a -lm
55 greg 1.10
56 greg 1.17 mkillum: mkillum.o mkillum2.o mkillum3.o
57     cc $(CFLAGS) -o mkillum mkillum.o mkillum2.o mkillum3.o \
58     ../common/librt.a -lm
59    
60 greg 1.16 genrev: genrev.o
61     cc $(CFLAGS) -o genrev genrev.o ../common/librt.a -lm
62 greg 1.1
63 greg 1.16 genworm: genworm.o
64     cc $(CFLAGS) -o genworm genworm.o ../common/librt.a -lm
65 greg 1.1
66 greg 1.16 gensurf: gensurf.o
67     cc $(CFLAGS) -o gensurf gensurf.o ../common/librt.a -lm
68 greg 1.1
69     genbranch: genbranch.o
70     cc $(CFLAGS) -o genbranch genbranch.o -lm
71    
72 greg 1.16 gensurf.o: ../common/standard.h ../common/mat4.h ../common/fvect.h
73 greg 1.1
74 greg 1.16 genworm.o replmarks.o: ../common/fvect.h
75 greg 1.1
76 greg 1.17 xform.o: ../common/standard.h ../common/mat4.h ../common/fvect.h \
77     ../common/otypes.h ../common/object.h
78    
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