33 |
|
LIBS = -lrt $(MLIB) |
34 |
|
|
35 |
|
# |
36 |
< |
# Device drivers for rview (see also devtable.c): |
36 |
> |
# Device drivers for rvu (see also devtable.c): |
37 |
|
# |
38 |
|
DOBJS = devtable.o devcomm.o editline.o x11.o x11twind.o \ |
39 |
|
colortab.o |
89 |
|
# What this makefile produces: |
90 |
|
# |
91 |
|
|
92 |
< |
PROGS = $(DESTDIR)/rtrace $(DESTDIR)/rpict $(DESTDIR)/rview $(DESTDIR)/lookamb |
92 |
> |
PROGS = $(DESTDIR)/rtrace $(DESTDIR)/rpict $(DESTDIR)/rvu $(DESTDIR)/lookamb |
93 |
|
|
94 |
|
all: $(PROGS) $(RCLIB) $(SPECIAL) |
95 |
|
|
96 |
|
install: all rayinit.cal |
97 |
|
$(INSTALL) $(PROGS) $(INSTDIR) |
98 |
+ |
cd $(INSTDIR) ; rm -f rview ; ln -s rvu rview |
99 |
|
rm -f $(LIBDIR)/rayinit.cal |
100 |
|
cp rayinit.cal $(LIBDIR) |
101 |
|
|
119 |
|
$(DESTDIR)/rpict: $(RPOBJS) $(RLIB) |
120 |
|
$(CC) $(CFLAGS) -o $(DESTDIR)/rpict $(RPOBJS) $(RLIB) $(LIBS) |
121 |
|
|
122 |
< |
$(DESTDIR)/rview: $(RVOBJS) $(RLIB) |
123 |
< |
$(CC) $(CFLAGS) -o $(DESTDIR)/rview $(RVOBJS) $(RLIB) $(LIBS) $(DLIBS) |
122 |
> |
$(DESTDIR)/rvu: $(RVOBJS) $(RLIB) |
123 |
> |
$(CC) $(CFLAGS) -o $(DESTDIR)/rvu $(RVOBJS) $(RLIB) $(LIBS) $(DLIBS) |
124 |
|
|
125 |
|
$(DESTDIR)/lookamb: lookamb.o ambio.o |
126 |
|
$(CC) $(CFLAGS) -o $(DESTDIR)/lookamb lookamb.o ambio.o $(LIBS) |
246 |
|
preload.o: ../common/object.h ../common/face.h ../common/cone.h \ |
247 |
|
../common/instance.h ../common/mesh.h ../common/color.h data.h |
248 |
|
|
249 |
< |
rtmain.o rpmain.o rvmain.o persist.o duphead.o rpict.o: ../common/paths.h |
249 |
> |
rtmain.o rpmain.o rvmain.o persist.o duphead.o \ |
250 |
> |
renderopts.o rpict.o: ../common/paths.h |
251 |
|
|
252 |
|
freeobjmem.o raycalls.o text.o: ../common/font.h |
253 |
|
|