ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/Rmakefile
Revision: 3.6
Committed: Mon Dec 1 16:33:30 1997 UTC (26 years, 4 months ago) by gregl
Branch: MAIN
Changes since 3.5: +2 -0 lines
Log Message:
made persist file vary with process id so multiple rholo's don't interfere

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     PROGS = rholo
20    
21 gregl 3.2 DEVS = $(DEVDIR)/x11.hdisp $(DEVDIR)/x11h.hdisp
22    
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.2 $(DEVDIR)/x11h.hdisp: $(DEVDIR)/x11.hdisp
36     rm -f $(DEVDIR)/x11h.hdisp
37     ln $(DEVDIR)/x11.hdisp $(DEVDIR)/x11h.hdisp
38 gregl 3.1
39 gregl 3.2 $(DEVDIR)/x11.hdisp: rhdisp.o rhdisp2.o rhdisp3.o rhd_x11.o rhd_qtree.o \
40 gregl 3.5 rhd_qtree2r.o rhd_ctab.o holo.o
41 gregl 3.2 $(CC) $(CFLAGS) -o $(DEVDIR)/x11.hdisp rhdisp.o rhdisp2.o rhdisp3.o \
42 gregl 3.5 rhd_x11.o rhd_qtree.o rhd_qtree2r.o rhd_ctab.o holo.o -lrt -lX11 -lm
43 gregl 3.1
44 gregl 3.2 rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
45     rhdisp.o rhdisp2.o rhdisp3.o: rholo.h
46    
47 gregl 3.6 rholo2l.o: ../common/paths.h
48    
49 gregl 3.2 rholo4.o: rhdisp.h rholo4.c
50 gregl 3.4 $(CC) $(CFLAGS) -c rholo4.c
51 gregl 3.2
52     rhdisp.o rhdisp2.o: rhdisp.h rhdriver.h ../common/view.h
53    
54     rhdisp3.o: rhdisp.h ../common/view.h
55    
56     holo.o holofile.o rhdisp.o rhdisp2.o rhdisp3.o \
57 gregl 3.1 rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o: holo.h \
58     ../common/vars.h ../common/color.h \
59     ../common/standard.h ../common/mat4.h ../common/fvect.h
60 gregl 3.2
61 gregl 3.5 rhd_x11.o rhd_qtree.o rhd_qtree2r.o: ../common/standard.h \
62     ../common/mat4.h ../common/fvect.h
63 gregl 3.2
64 gregl 3.5 rhd_x11.o rhd_qtree.o rhd_qtree2r.o: rhd_qtree.h rhdriver.h \
65 gregl 3.2 ../common/tonemap.h ../common/color.h
66    
67     rhd_x11.o: x11icon.h