ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/Rmakefile
(Generate patch)

Comparing ray/src/rt/Rmakefile (file contents):
Revision 1.54 by greg, Tue Jul 16 15:56:40 1991 UTC vs.
Revision 1.59 by greg, Thu Aug 22 09:25:22 1991 UTC

# Line 1 | Line 1
1 # SCCSid "$SunId$ LBL"
2
1   #
2 + # SCCSid "$SunId$ LBL"
3   #  Compiles for ray tracing programs.
4   #
5  
6   OPT = -O -pipe
7   MACH = -DSTRUCTASSIGN -DBSD -DIEEE -f68881 /usr/lib/libm.il
8 < CFLAGS = $(MACH) $(OPT) -I../common
8 > CFLAGS = $(MACH) $(OPT) -I../common -L../lib
9   CC = cc
10   LINT = lint
11   LINTFLAGS = -DSTRUCTASSIGN -DBSD -DIEEE -DVARIABLE -DFUNCTION \
# Line 28 | Line 27 | LIBDIR = /usr/local/lib/ray
27   #
28   # Library routines:
29   #
30 < LIBS = ../common/librt.a -lm
30 > LIBS = -lrt -lm
31  
32   #
33   # Device drivers for rview (see also devtable.c):
# Line 73 | Line 72 | MATSRC = normal.c dielectric.c m_clip.c glass.c m_brdf
72   MODOBJS = p_func.o t_func.o p_data.o t_data.o text.o mx_func.o mx_data.o
73   MODSRC = p_func.c t_func.c p_data.c t_data.c text.c mx_func.c mx_data.c
74  
75 < SUPPOBJS = zeroes.o calexpr.o caldefn.o func.o noise3.o data.o
76 < SUPPSRC = zeroes.c calexpr.c caldefn.c func.c noise3.c data.c
75 > SUPPOBJS = zeroes.o calexpr.o caldefn.o func.o noise3.o data.o readfargs.o
76 > SUPPSRC = zeroes.c calexpr.c caldefn.c func.c noise3.c data.c readfargs.c
77  
78   #
79   # What this makefile produces:
# Line 84 | Line 83 | PROGS = $(DESTDIR)/rtrace $(DESTDIR)/rpict $(DESTDIR)/
83  
84   all:    $(PROGS)
85  
86 < install:        $(PROGS)
86 > install:        $(PROGS) rayinit.cal
87          $(INSTALL) $(PROGS) $(INSTDIR)
88 +        rm -f $(LIBDIR)/rayinit.cal
89 +        cp rayinit.cal $(LIBDIR)
90  
91   sun:    $(DEVDIR)/sun $(DEVDIR)/sun.com
92  
# Line 93 | Line 94 | x10:   $(DEVDIR)/x10
94  
95   aed:    $(DEVDIR)/aed
96  
97 + tiff:  
98 +
99   clean:
100          set nonomatch; rm -f $(PROGS) *.o core
101  
# Line 112 | Line 115 | $(DESTDIR)/rpict:      $(RPOBJS)
115   $(DESTDIR)/rview:       $(RVOBJS)
116          $(CC) $(CFLAGS) -o $(DESTDIR)/rview $(RVOBJS) $(DLIBS) $(LIBS)
117  
115 $(DESTDIR)/rtrace $(DESTDIR)/rpict $(DESTDIR)/rview:    ../common/librt.a
116
118   $(DESTDIR)/lookamb:     lookamb.o
119          $(CC) $(CFLAGS) -o $(DESTDIR)/lookamb lookamb.o
120  
# Line 148 | Line 149 | rvmain.o:      rmain.c
149          $(CC) $(CFLAGS) -DRVIEW -DDEFPATH=\":$(LIBDIR)\" -c rmain.c
150          mv rmain.o rvmain.o
151  
152 + readfargs.o:    readfargs.c ../common/object.h
153 +        $(CC) $(CFLAGS) -DMEMHOG -c readfargs.c
154 +
155   #
156   # Uncomment the following to model dispersion:
157   #
158 < #dielectric.o:  dielectric.c source.h
159 < #       $(CC) $(CFLAGS) -DDISPERSE -c dielectric.c
160 < #
158 > dielectric.o:   dielectric.c source.h
159 >        $(CC) $(CFLAGS) -DDISPERSE -c dielectric.c
160 >
161   # end of dispersion compiles.
162  
163   devcomm.o:      devcomm.c

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines