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: |
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 |
|
|
94 |
|
|
95 |
|
aed: $(DEVDIR)/aed |
96 |
|
|
97 |
+ |
tiff: |
98 |
+ |
|
99 |
|
clean: |
100 |
|
set nonomatch; rm -f $(PROGS) *.o core |
101 |
|
|
106 |
|
# Links: |
107 |
|
# |
108 |
|
|
109 |
< |
$(DESTDIR)/rtrace: $(RTOBJS) |
109 |
> |
$(DESTDIR)/rtrace: $(RTOBJS) ../common/librt.a |
110 |
|
$(CC) $(CFLAGS) -o $(DESTDIR)/rtrace $(RTOBJS) $(LIBS) |
111 |
|
|
112 |
< |
$(DESTDIR)/rpict: $(RPOBJS) |
112 |
> |
$(DESTDIR)/rpict: $(RPOBJS) ../common/librt.a |
113 |
|
$(CC) $(CFLAGS) -o $(DESTDIR)/rpict $(RPOBJS) $(LIBS) |
114 |
|
|
115 |
< |
$(DESTDIR)/rview: $(RVOBJS) |
115 |
> |
$(DESTDIR)/rview: $(RVOBJS) ../common/librt.a |
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 |
|
|
148 |
|
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: |