ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/Rmakefile
Revision: 3.9
Committed: Tue Dec 23 09:20:27 1997 UTC (26 years, 4 months ago) by gregl
Branch: MAIN
Changes since 3.8: +4 -2 lines
Log Message:
moved direction encoding routines to dircode.c

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.7 PROGS = rholo rhcopy
20 gregl 3.1
21 gregl 3.8 DEVS = $(DEVDIR)/x11.hdi $(DEVDIR)/x11h.hdi
22 gregl 3.2
23 gregl 3.1 all: $(PROGS)
24    
25 gregl 3.2 install: all $(DEVS)
26 gregl 3.1 cp $(PROGS) $(INSTDIR)
27    
28     clean:
29     set nonomatch; rm -f *.o $(PROGS) core
30    
31 gregl 3.3 rholo: rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o holo.o holofile.o Version.o
32 gregl 3.1 $(CC) $(CFLAGS) -o rholo rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
33 gregl 3.3 holo.o holofile.o Version.o -lrt -lm
34 gregl 3.1
35 gregl 3.7 rhcopy: rhcopy.o holo.o holofile.o
36     $(CC) $(CFLAGS) -o rhcopy rhcopy.o holo.o holofile.o -lrt -lm
37    
38 gregl 3.8 $(DEVDIR)/x11h.hdi: $(DEVDIR)/x11.hdi
39     rm -f $(DEVDIR)/x11h.hdi
40     ln $(DEVDIR)/x11.hdi $(DEVDIR)/x11h.hdi
41 gregl 3.1
42 gregl 3.8 $(DEVDIR)/x11.hdi: rhdisp.o rhdisp2.o rhdisp3.o rhd_x11.o rhd_qtree.o \
43 gregl 3.9 rhd_qtree2r.o rhd_ctab.o dircode.o holo.o
44 gregl 3.8 $(CC) $(CFLAGS) -o $(DEVDIR)/x11.hdi rhdisp.o rhdisp2.o rhdisp3.o \
45 gregl 3.9 rhd_x11.o rhd_qtree.o rhd_qtree2r.o rhd_ctab.o holo.o dircode.o -lrt -lX11 -lm
46 gregl 3.1
47 gregl 3.2 rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
48     rhdisp.o rhdisp2.o rhdisp3.o: rholo.h
49    
50 gregl 3.6 rholo2l.o: ../common/paths.h
51    
52 gregl 3.2 rholo4.o: rhdisp.h rholo4.c
53 gregl 3.4 $(CC) $(CFLAGS) -c rholo4.c
54 gregl 3.2
55     rhdisp.o rhdisp2.o: rhdisp.h rhdriver.h ../common/view.h
56    
57     rhdisp3.o: rhdisp.h ../common/view.h
58    
59     holo.o holofile.o rhdisp.o rhdisp2.o rhdisp3.o \
60 gregl 3.7 rhcopy.o rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o: holo.h \
61 gregl 3.1 ../common/vars.h ../common/color.h \
62     ../common/standard.h ../common/mat4.h ../common/fvect.h
63 gregl 3.7
64     rhcopy.o: ../common/resolu.h
65    
66     rhcopy.o: ../common/view.h
67 gregl 3.2
68 gregl 3.5 rhd_x11.o rhd_qtree.o rhd_qtree2r.o: ../common/standard.h \
69     ../common/mat4.h ../common/fvect.h
70 gregl 3.2
71 gregl 3.5 rhd_x11.o rhd_qtree.o rhd_qtree2r.o: rhd_qtree.h rhdriver.h \
72 gregl 3.2 ../common/tonemap.h ../common/color.h
73    
74     rhd_x11.o: x11icon.h
75 gregl 3.9
76     dircode.o: ../common/fvect.h