ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/Rmakefile
Revision: 3.13
Committed: Tue Jan 6 17:19:51 1998 UTC (26 years, 3 months ago) by gregl
Branch: MAIN
Changes since 3.12: +5 -2 lines
Log Message:
created genrhgrid program

File Contents

# User Rev Content
1 gregl 3.1 #
2     # SCCSid "$SunId$ SGI"
3     # Radiance makefile for holodeck programs
4     #
5    
6     MACH = -DBSD
7    
8     OPT = -O
9    
10     CFLAGS = $(MACH) $(OPT) -I../common -L../lib
11    
12     CC = cc
13    
14     INSTDIR = /usr/local/bin
15 gregl 3.2 DEVDIR = $(INSTDIR)/dev
16 gregl 3.1
17     LIBDIR = /usr/local/lib/ray
18    
19 gregl 3.13 PROGS = rholo rhcopy genrhenv genrhgrid
20 gregl 3.1
21 gregl 3.10 DEVS = $(DEVDIR)/x11.hdi $(DEVDIR)/x11h.hdi \
22     $(DEVDIR)/glx.hdi $(DEVDIR)/glxh.hdi
23 gregl 3.2
24 gregl 3.1 all: $(PROGS)
25    
26 gregl 3.2 install: all $(DEVS)
27 gregl 3.1 cp $(PROGS) $(INSTDIR)
28    
29     clean:
30     set nonomatch; rm -f *.o $(PROGS) core
31    
32 gregl 3.3 rholo: rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o holo.o holofile.o Version.o
33 gregl 3.1 $(CC) $(CFLAGS) -o rholo rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
34 gregl 3.3 holo.o holofile.o Version.o -lrt -lm
35 gregl 3.1
36 gregl 3.7 rhcopy: rhcopy.o holo.o holofile.o
37     $(CC) $(CFLAGS) -o rhcopy rhcopy.o holo.o holofile.o -lrt -lm
38    
39 gregl 3.12 genrhenv: genrhenv.o holo.o holofile.o
40     $(CC) $(CFLAGS) -o genrhenv genrhenv.o holo.o holofile.o -lrt -lm
41    
42 gregl 3.13 genrhgrid: genrhgrid.o holo.o
43     $(CC) $(CFLAGS) -o genrhgrid genrhgrid.o holo.o -lrt -lm
44    
45 gregl 3.8 $(DEVDIR)/x11h.hdi: $(DEVDIR)/x11.hdi
46     rm -f $(DEVDIR)/x11h.hdi
47     ln $(DEVDIR)/x11.hdi $(DEVDIR)/x11h.hdi
48 gregl 3.1
49 gregl 3.8 $(DEVDIR)/x11.hdi: rhdisp.o rhdisp2.o rhdisp3.o rhd_x11.o rhd_qtree.o \
50 gregl 3.9 rhd_qtree2r.o rhd_ctab.o dircode.o holo.o
51 gregl 3.8 $(CC) $(CFLAGS) -o $(DEVDIR)/x11.hdi rhdisp.o rhdisp2.o rhdisp3.o \
52 gregl 3.9 rhd_x11.o rhd_qtree.o rhd_qtree2r.o rhd_ctab.o holo.o dircode.o -lrt -lX11 -lm
53 gregl 3.1
54 gregl 3.10 $(DEVDIR)/glxh.hdi: $(DEVDIR)/glx.hdi
55     rm -f $(DEVDIR)/glxh.hdi
56     ln $(DEVDIR)/glx.hdi $(DEVDIR)/glxh.hdi
57    
58     $(DEVDIR)/glx.hdi: rhdisp.o rhdisp2.o rhdisp3.o rhd_glx.o \
59 gregl 3.11 rhd_qtree.o rhd_qtree2c.o dircode.o holo.o
60 gregl 3.10 $(CC) $(CFLAGS) -o $(DEVDIR)/glx.hdi rhdisp.o rhdisp2.o rhdisp3.o \
61 gregl 3.11 rhd_glx.o holo.o rhd_qtree.o rhd_qtree2c.o dircode.o -lrt -lGLU -lGL -lX11 -lm
62 gregl 3.10
63 gregl 3.2 rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
64     rhdisp.o rhdisp2.o rhdisp3.o: rholo.h
65    
66 gregl 3.6 rholo2l.o: ../common/paths.h
67    
68 gregl 3.2 rholo4.o: rhdisp.h rholo4.c
69 gregl 3.4 $(CC) $(CFLAGS) -c rholo4.c
70 gregl 3.2
71     rhdisp.o rhdisp2.o: rhdisp.h rhdriver.h ../common/view.h
72    
73     rhdisp3.o: rhdisp.h ../common/view.h
74    
75 gregl 3.13 holo.o holofile.o rhdisp.o rhdisp2.o rhdisp3.o genrhenv.o genrhgrid.o \
76 gregl 3.7 rhcopy.o rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o: holo.h \
77 gregl 3.1 ../common/vars.h ../common/color.h \
78     ../common/standard.h ../common/mat4.h ../common/fvect.h
79 gregl 3.7
80     rhcopy.o: ../common/resolu.h
81    
82     rhcopy.o: ../common/view.h
83 gregl 3.2
84 gregl 3.10 rhd_glx.o rhd_x11.o rhd_qtree.o rhd_qtree2r.o: ../common/standard.h \
85 gregl 3.5 ../common/mat4.h ../common/fvect.h
86 gregl 3.10
87 gregl 3.11 rhd_glx.o rhd_x11.o rhd_qtree.o rhd_qtree2r.o: rhd_qtree.h rhdriver.h \
88 gregl 3.2 ../common/tonemap.h ../common/color.h
89    
90 gregl 3.11 rhd_glx.o rhd_x11.o: x11icon.h
91 gregl 3.9
92     dircode.o: ../common/fvect.h