9 |
|
# |
10 |
|
|
11 |
|
OPT = -O |
12 |
< |
MACH = -f68881 /usr/lib/f68881.il |
12 |
> |
MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/libm.il |
13 |
|
CFLAGS = -DSTRICT $(OPT) $(MACH) |
14 |
|
|
15 |
< |
INSTDIR = /usr/local/ray |
15 |
> |
INSTDIR = /lumen/lumen/ray/bin.sun3 |
16 |
|
|
17 |
– |
INSTALL = install |
18 |
– |
|
17 |
|
COMPAT = malloc.o |
18 |
|
|
19 |
< |
oconv: dummy.o misc.o objset.o oconv.o octree.o readobj.o \ |
19 |
> |
oconv: misc.o objset.o oconv.o octree.o readobj.o \ |
20 |
|
readoct.o sphere.o fvect.o otypes.o writeoct.o o_face.o face.o plocate.o xf.o \ |
21 |
|
clip.o cone.o o_cone.o instance.o o_instance.o bbox.o savestr.o header.o \ |
22 |
< |
mat4.o fgetline.o $(COMPAT) |
22 |
> |
mat4.o fgetline.o initotypes.o $(COMPAT) |
23 |
|
cc $(CFLAGS) -o oconv oconv.o readoct.o octree.o objset.o \ |
24 |
< |
readobj.o writeoct.o fvect.o otypes.o sphere.o dummy.o misc.o o_face.o \ |
24 |
> |
readobj.o writeoct.o fvect.o otypes.o sphere.o misc.o o_face.o \ |
25 |
|
face.o plocate.o clip.o cone.o o_cone.o instance.o o_instance.o mat4.o xf.o \ |
26 |
< |
bbox.o savestr.o header.o fgetline.o $(COMPAT) -lm |
26 |
> |
bbox.o savestr.o header.o fgetline.o initotypes.o $(COMPAT) -lm |
27 |
|
|
28 |
|
install: oconv |
29 |
< |
$(INSTALL) oconv $(INSTDIR) |
29 |
> |
cp oconv $(INSTDIR) |
30 |
|
|
31 |
+ |
clean: |
32 |
+ |
rm -f oconv *.o core |
33 |
+ |
|
34 |
|
xf.o: xf.c |
35 |
|
cc $(CFLAGS) -DINVXF -c xf.c |
36 |
|
|
37 |
< |
bbox.o cone.o face.o misc.o o_cone.o o_face.o \ |
38 |
< |
o_instance.o objset.o oconv.o instance.o octree.o \ |
39 |
< |
otypes.o readobj.o readoct.o sphere.o writeoct.o: standard.h fvect.h |
37 |
> |
bbox.o cone.o face.o initotypes.o misc.o o_cone.o o_face.o \ |
38 |
> |
o_instance.o objset.o oconv.o instance.o octree.o otypes.o readobj.o \ |
39 |
> |
readoct.o sphere.o writeoct.o xf.o: standard.h mat4.h fvect.h |
40 |
|
|
41 |
< |
o_cone.o o_face.o objset.o oconv.o octree.o \ |
41 |
> |
initotypes.o o_cone.o o_face.o objset.o oconv.o octree.o \ |
42 |
|
readoct.o sphere.o writeoct.o: octree.h |
43 |
|
|
44 |
|
bbox.o cone.o face.o o_cone.o o_face.o o_instance.o objset.o oconv.o \ |
45 |
|
instance.o otypes.o readobj.o readoct.o sphere.o writeoct.o: object.h |
46 |
|
|
47 |
< |
bbox.o cone.o oconv.o otypes.o \ |
47 |
> |
bbox.o cone.o initotypes.o objset.o oconv.o otypes.o \ |
48 |
|
readobj.o readoct.o sphere.o writeoct.o: otypes.h |
49 |
+ |
|
50 |
+ |
mat4.o: mat4.h fvect.h |
51 |
|
|
52 |
|
fvect.o: fvect.h |
53 |
|
|