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.58 by greg, Thu Aug 22 08:59:23 1991 UTC vs.
Revision 1.60 by greg, Mon Aug 26 10:14:21 1991 UTC

# Line 5 | Line 5
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 \
12   -DINCHAN -DRCONST -DREDEFW -DBIGLIB
13 + COMPAT = malloc.o
14  
15   #
16   # The following are user-definable:
# Line 27 | Line 28 | LIBDIR = /usr/local/lib/ray
28   #
29   # Library routines:
30   #
31 < LIBS = ../common/librt.a -lm
31 > LIBS = -lrt -lm
32  
33   #
34   # Device drivers for rview (see also devtable.c):
# Line 52 | Line 53 | RVOBJS = rvmain.o rview.o rv2.o rv3.o $(DOBJS) $(ROBJS
53   RVSRC = rmain.c rview.c rv2.c rv3.c $(DSRC) $(RSRC)
54  
55   ROBJS = $(RAYOBJS) $(SURFOBJS) $(MATOBJS) \
56 <        $(MODOBJS) $(SUPPOBJS)
56 >        $(MODOBJS) $(SUPPOBJS) $(COMPAT)
57   RSRC = $(RAYSRC) $(SURFSRC) $(MATSRC) \
58          $(MODSRC) $(SUPPSRC)
59  
# Line 106 | Line 107 | lint:  $(RVSRC)
107   # Links:
108   #
109  
110 < $(DESTDIR)/rtrace:      $(RTOBJS) ../common/librt.a
110 > $(DESTDIR)/rtrace:      $(RTOBJS)
111          $(CC) $(CFLAGS) -o $(DESTDIR)/rtrace $(RTOBJS) $(LIBS)
112  
113 < $(DESTDIR)/rpict:       $(RPOBJS) ../common/librt.a
113 > $(DESTDIR)/rpict:       $(RPOBJS)
114          $(CC) $(CFLAGS) -o $(DESTDIR)/rpict $(RPOBJS) $(LIBS)
115  
116 < $(DESTDIR)/rview:       $(RVOBJS) ../common/librt.a
116 > $(DESTDIR)/rview:       $(RVOBJS)
117          $(CC) $(CFLAGS) -o $(DESTDIR)/rview $(RVOBJS) $(DLIBS) $(LIBS)
118  
119   $(DESTDIR)/lookamb:     lookamb.o
# Line 151 | Line 152 | rvmain.o:      rmain.c
152  
153   readfargs.o:    readfargs.c ../common/object.h
154          $(CC) $(CFLAGS) -DMEMHOG -c readfargs.c
155 +
156 + malloc.o:       malloc.c
157 +        $(CC) $(CFLAGS) -DMCOMP -c malloc.c
158  
159   #
160   # Uncomment the following to model dispersion:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines