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