ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/gen/Rmakefile
Revision: 1.16
Committed: Mon Jul 15 13:07:29 1991 UTC (32 years, 9 months ago) by greg
Branch: MAIN
Changes since 1.15: +16 -32 lines
Log Message:
moved many routines to a common library

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     PROGS = genbox gensky xform genblinds genrev genworm \
14 greg 1.10 gensurf genprism replmarks
15 greg 1.1
16     all: $(PROGS)
17    
18 greg 1.2 install: $(PROGS) genpine.csh genwindow.csh
19 greg 1.1 cp $(PROGS) $(INSTDIR)
20 greg 1.11 cp genwindow.csh $(INSTDIR)/genwindow
21     chmod 755 $(INSTDIR)/genwindow
22    
23     clean:
24 greg 1.13 set nonomatch; rm -f $(PROGS) *.o core
25 greg 1.1
26     genbeads: genbeads.o hermite3.o
27     cc $(CFLAGS) -o genbeads genbeads.o hermite3.o -lm
28    
29     genbox: genbox.o
30     cc $(CFLAGS) -o genbox genbox.o
31    
32 greg 1.16 genmarble: genmarble.o ../common/random.h
33 greg 1.1 cc $(CFLAGS) -o genmarble genmarble.o -lm
34    
35     gensky: gensky.o sun.o
36     cc $(CFLAGS) -o gensky gensky.o sun.o -lm
37    
38     genblinds: genblinds.o
39     cc $(CFLAGS) -o genblinds genblinds.o -lm
40    
41     genprism: genprism.o
42     cc $(CFLAGS) -o genprism genprism.o
43    
44 greg 1.16 xform: xform.o
45     cc $(CFLAGS) -o xform xform.o ../common/librt.a -lm
46 greg 1.1
47 greg 1.16 replmarks: replmarks.o
48     cc $(CFLAGS) -o replmarks replmarks.o ../common/librt.a -lm
49 greg 1.10
50 greg 1.16 genrev: genrev.o
51     cc $(CFLAGS) -o genrev genrev.o ../common/librt.a -lm
52 greg 1.1
53 greg 1.16 genworm: genworm.o
54     cc $(CFLAGS) -o genworm genworm.o ../common/librt.a -lm
55 greg 1.1
56 greg 1.16 gensurf: gensurf.o
57     cc $(CFLAGS) -o gensurf gensurf.o ../common/librt.a -lm
58 greg 1.1
59     genbranch: genbranch.o
60     cc $(CFLAGS) -o genbranch genbranch.o -lm
61    
62 greg 1.16 gensurf.o: ../common/standard.h ../common/mat4.h ../common/fvect.h
63 greg 1.1
64 greg 1.16 genworm.o replmarks.o: ../common/fvect.h
65 greg 1.1
66 greg 1.16 xform.o: ../common/standard.h ../common/mat4.h \
67     ../common/fvect.h ../common/otypes.h