1 |
– |
# SCCSid "$SunId$ LBL" |
2 |
– |
|
1 |
|
# |
2 |
+ |
# SCCSid "$SunId$ LBL" |
3 |
|
# Compiles for ray tracing programs. |
4 |
|
# |
5 |
|
|
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: |
102 |
|
# Links: |
103 |
|
# |
104 |
|
|
105 |
< |
$(DESTDIR)/rtrace: $(RTOBJS) |
105 |
> |
$(DESTDIR)/rtrace: $(RTOBJS) ../common/librt.a |
106 |
|
$(CC) $(CFLAGS) -o $(DESTDIR)/rtrace $(RTOBJS) $(LIBS) |
107 |
|
|
108 |
< |
$(DESTDIR)/rpict: $(RPOBJS) |
108 |
> |
$(DESTDIR)/rpict: $(RPOBJS) ../common/librt.a |
109 |
|
$(CC) $(CFLAGS) -o $(DESTDIR)/rpict $(RPOBJS) $(LIBS) |
110 |
|
|
111 |
< |
$(DESTDIR)/rview: $(RVOBJS) |
111 |
> |
$(DESTDIR)/rview: $(RVOBJS) ../common/librt.a |
112 |
|
$(CC) $(CFLAGS) -o $(DESTDIR)/rview $(RVOBJS) $(DLIBS) $(LIBS) |
113 |
|
|
115 |
– |
$(DESTDIR)/rtrace $(DESTDIR)/rpict $(DESTDIR)/rview: ../common/librt.a |
116 |
– |
|
114 |
|
$(DESTDIR)/lookamb: lookamb.o |
115 |
|
$(CC) $(CFLAGS) -o $(DESTDIR)/lookamb lookamb.o |
116 |
|
|
144 |
|
rvmain.o: rmain.c |
145 |
|
$(CC) $(CFLAGS) -DRVIEW -DDEFPATH=\":$(LIBDIR)\" -c rmain.c |
146 |
|
mv rmain.o rvmain.o |
147 |
+ |
|
148 |
+ |
readfargs.o: readfargs.c ../common/object.h |
149 |
+ |
$(CC) $(CFLAGS) -DMEMHOG -c readfargs.c |
150 |
|
|
151 |
|
# |
152 |
|
# Uncomment the following to model dispersion: |