54 |
|
RVOBJS = rvmain.o rview.o rv2.o rv3.o $(DOBJS) |
55 |
|
RVSRC = rvmain.c rview.c rv2.c rv3.c $(DSRC) |
56 |
|
|
57 |
+ |
RCOBJS = rcmain.o rcontrib.o rc2.o rc3.o |
58 |
+ |
RCSRC = rcmain.c rcontrib.c rc2.c rc3.c |
59 |
+ |
|
60 |
|
RLOBJS = raycalls.o raypcalls.o rayfifo.o |
61 |
|
RLSRC = raycalls.c raypcalls.c rayfifo.c |
62 |
|
|
92 |
|
# What this makefile produces: |
93 |
|
# |
94 |
|
|
95 |
< |
PROGS = $(DESTDIR)/rtrace $(DESTDIR)/rpict $(DESTDIR)/rvu $(DESTDIR)/lookamb |
95 |
> |
PROGS = $(DESTDIR)/rtrace $(DESTDIR)/rpict $(DESTDIR)/rvu $(DESTDIR)/rcontrib \ |
96 |
> |
$(DESTDIR)/lookamb |
97 |
|
|
98 |
|
all: $(PROGS) $(RCLIB) $(SPECIAL) |
99 |
|
|
100 |
|
install: all rayinit.cal |
101 |
|
$(INSTALL) $(PROGS) $(INSTDIR) |
102 |
|
cd $(INSTDIR) ; rm -f rview ; ln -s rvu rview |
103 |
+ |
cd $(INSTDIR) ; rm -f rtcontrib ; ln -s rcontrib rtcontrib |
104 |
|
rm -f $(LIBDIR)/rayinit.cal |
105 |
|
cp rayinit.cal $(LIBDIR) |
106 |
|
|
125 |
|
$(DESTDIR)/rvu: $(RVOBJS) $(RCLIB) $(RLIB) |
126 |
|
$(CC) $(CFLAGS) -o $(DESTDIR)/rvu $(RVOBJS) $(RCLIB) \ |
127 |
|
$(RLIB) $(LIBS) $(DLIBS) |
128 |
+ |
|
129 |
+ |
$(DESTDIR)/rcontrib: $(RCOBJS) $(RLIB) |
130 |
+ |
$(CC) $(CFLAGS) -o $(DESTDIR)/rcontrib $(RCOBJS) $(RLIB) $(LIBS) |
131 |
|
|
132 |
|
$(DESTDIR)/lookamb: lookamb.o ambio.o |
133 |
|
$(CC) $(CFLAGS) -o $(DESTDIR)/lookamb lookamb.o ambio.o $(LIBS) |