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.59 by greg, Thu Aug 22 09:25:22 1991 UTC vs.
Revision 1.62 by greg, Wed Oct 9 10:07:47 1991 UTC

# Line 42 | Line 42 | DLIBS = -lX11
42   # Standard object files:
43   #
44  
45 < RTOBJS = rtmain.o rtrace.o $(ROBJS)
46 < RTSRC = rmain.c rtrace.c $(RSRC)
45 > RTOBJS = rtmain.o rtrace.o $(ROBJS) Version.o
46 > RTSRC = rmain.c rtrace.c $(RSRC) Version.c
47  
48 < RPOBJS = rpmain.o rpict.o $(ROBJS)
49 < RPSRC = rmain.c rpict.c $(RSRC)
48 > RPOBJS = rpmain.o rpict.o $(ROBJS) Version.o
49 > RPSRC = rmain.c rpict.c $(RSRC) Version.c
50  
51 < RVOBJS = rvmain.o rview.o rv2.o rv3.o $(DOBJS) $(ROBJS)
52 < RVSRC = rmain.c rview.c rv2.c rv3.c $(DSRC) $(RSRC)
51 > RVOBJS = rvmain.o rview.o rv2.o rv3.o $(DOBJS) $(ROBJS) Version.o
52 > RVSRC = rmain.c rview.c rv2.c rv3.c $(DSRC) $(RSRC) Version.c
53  
54   ROBJS = $(RAYOBJS) $(SURFOBJS) $(MATOBJS) \
55          $(MODOBJS) $(SUPPOBJS)
# Line 72 | 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 readfargs.o
76 < SUPPSRC = zeroes.c calexpr.c caldefn.c func.c noise3.c data.c readfargs.c
75 > SUPPOBJS = zeroes.o calexpr.o caldefn.o func.o noise3.o data.o readfargs.o \
76 >        malloc.o
77 > SUPPSRC = zeroes.c calexpr.c caldefn.c func.c noise3.c data.c readfargs.c \
78 >        malloc.c
79  
80 + HEADERS = ambient.h ray.h data.h otspecial.h source.h
81 +
82   #
83   # What this makefile produces:
84   #
# Line 152 | Line 156 | rvmain.o:      rmain.c
156   readfargs.o:    readfargs.c ../common/object.h
157          $(CC) $(CFLAGS) -DMEMHOG -c readfargs.c
158  
159 + malloc.o:       malloc.c
160 +        $(CC) $(CFLAGS) -DMCOMP -c malloc.c
161 +
162   #
163   # Uncomment the following to model dispersion:
164   #
# Line 186 | Line 193 | nwsdev.o:      nwsdev.c nwsdev.h newsconstants.h
193  
194   nwsdev.h:       nwsdev.cps newsconstants.h
195          cps nwsdev.cps
196 +
197 + #
198 + # Version module:
199 + #
200 +
201 + Version.c:      VERSION $(RSRC) $(HEADERS) verscript.ed
202 +        cp VERSION Version.c
203 +        ls -lLt $(RSRC) $(HEADERS) >> Version.c
204 +        ed - Version.c < verscript.ed
205  
206   #
207   # Include dependencies:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines