10 |
|
LIBDIR = /usr/local/lib/ray |
11 |
|
|
12 |
|
RTOBJ = cone.o face.o instance.o readobj.o readoct.o otypes.o objset.o \ |
13 |
< |
octree.o readfargs.o |
13 |
> |
octree.o readfargs.o modobject.o |
14 |
|
|
15 |
|
PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \ |
16 |
|
colrops.o |
17 |
|
|
18 |
|
STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o fvect.o urand.o \ |
19 |
< |
calexpr.o caldefn.o calfunc.o calprnt.o \ |
20 |
< |
process.o getpath.o error.o savestr.o strmisc.o \ |
21 |
< |
cputs.o wputs.o eputs.o quit.o |
19 |
> |
urind.o peano.o calexpr.o caldefn.o calfunc.o calprnt.o \ |
20 |
> |
multisamp.o process.o getpath.o error.o savestr.o savqstr.o \ |
21 |
> |
fgetword.o words.o cputs.o wputs.o eputs.o quit.o |
22 |
|
|
23 |
< |
SYSOBJ = ealloc.o bmalloc.o # erf.o frexp.o fwrite.o random.o bcopy.o |
23 |
> |
SYSOBJ = ealloc.o bmalloc.o erf.o # frexp.o fwrite.o random.o bcopy.o |
24 |
|
|
25 |
+ |
install: librt.a |
26 |
+ |
mv librt.a ../lib |
27 |
+ |
|
28 |
|
librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) |
29 |
|
ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) |
30 |
< |
@ ranlib librt.a |
30 |
> |
-ranlib librt.a |
31 |
|
|
29 |
– |
install: librt.a |
30 |
– |
|
32 |
|
clean: |
33 |
< |
rm -f $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) |
33 |
> |
rm -f $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) librt.a |
34 |
|
|
35 |
|
fropen.o: fropen.c |
36 |
|
cc $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c |
59 |
|
mat4.o: mat4.h fvect.h |
60 |
|
|
61 |
|
cone.o face.o instance.o objset.o otypes.o \ |
62 |
< |
readobj.o readoct.o: object.h |
62 |
> |
modobject.o readobj.o readoct.o: object.h |
63 |
|
|
64 |
|
objset.o octree.o readoct.o: octree.h |
65 |
|
|
66 |
< |
cone.o objset.o otypes.o readobj.o readoct.o: otypes.h |
66 |
> |
cone.o modobject.o objset.o otypes.o readobj.o readoct.o: otypes.h |
67 |
|
|
68 |
|
urand.o: random.h |
69 |
|
|
70 |
< |
cone.o face.o image.o instance.o error.o objset.o octree.o \ |
70 |
> |
cone.o face.o image.o instance.o error.o objset.o octree.o modobject.o \ |
71 |
|
otypes.o readobj.o readoct.o xf.o: standard.h mat4.h fvect.h |
72 |
|
|
73 |
|
image.o: view.h |