| 1 | greg | 1.1 | # SCCSid "$SunId$ LBL" | 
| 2 |  |  |  | 
| 3 |  |  | # | 
| 4 |  |  | #  Compiles for octree conversion program | 
| 5 |  |  | # | 
| 6 |  |  | #     The compile define "STRICT" enforces strict intersection calculations | 
| 7 |  |  | #  so that no cube which does not intersect an object contains that object. | 
| 8 |  |  | #  Otherwise, a somewhat faster more lax approach is taken by certain routines. | 
| 9 |  |  | # | 
| 10 |  |  |  | 
| 11 |  |  | CFLAGS = -DSTRICT -O -f68881 /usr/lib/f68881.il | 
| 12 |  |  |  | 
| 13 |  |  | INSTDIR = /usr/local/ray | 
| 14 |  |  |  | 
| 15 | greg | 1.2 | INSTALL = install | 
| 16 |  |  |  | 
| 17 | greg | 1.1 | COMPAT = malloc.o | 
| 18 |  |  |  | 
| 19 |  |  | oconv:  dummy.o 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 | greg | 1.3 | mat4.o fgetline.o $(COMPAT) | 
| 23 | greg | 1.1 | 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 \ | 
| 25 |  |  | face.o plocate.o clip.o cone.o o_cone.o instance.o o_instance.o mat4.o xf.o \ | 
| 26 | greg | 1.3 | bbox.o savestr.o header.o fgetline.o $(COMPAT) -lm | 
| 27 | greg | 1.1 |  | 
| 28 |  |  | install:        oconv | 
| 29 | greg | 1.2 | $(INSTALL) oconv $(INSTDIR) | 
| 30 | greg | 1.1 |  | 
| 31 |  |  | xf.o:   xf.c | 
| 32 |  |  | cc $(CFLAGS) -DINVXF -c xf.c | 
| 33 |  |  |  | 
| 34 |  |  | bbox.o cone.o face.o misc.o o_cone.o o_face.o \ | 
| 35 |  |  | o_instance.o objset.o oconv.o instance.o octree.o \ | 
| 36 |  |  | otypes.o readobj.o readoct.o sphere.o writeoct.o:       standard.h fvect.h | 
| 37 |  |  |  | 
| 38 |  |  | o_cone.o o_face.o objset.o oconv.o octree.o \ | 
| 39 |  |  | readoct.o sphere.o writeoct.o:  octree.h | 
| 40 |  |  |  | 
| 41 |  |  | bbox.o cone.o face.o o_cone.o o_face.o o_instance.o objset.o oconv.o \ | 
| 42 |  |  | instance.o otypes.o readobj.o readoct.o sphere.o writeoct.o:    object.h | 
| 43 |  |  |  | 
| 44 |  |  | bbox.o cone.o oconv.o otypes.o \ | 
| 45 |  |  | readobj.o readoct.o sphere.o writeoct.o:        otypes.h | 
| 46 |  |  |  | 
| 47 |  |  | fvect.o:        fvect.h | 
| 48 |  |  |  | 
| 49 |  |  | bbox.o cone.o o_cone.o: cone.h | 
| 50 |  |  |  | 
| 51 |  |  | bbox.o face.o o_face.o: face.h | 
| 52 |  |  |  | 
| 53 |  |  | bbox.o o_instance.o instance.o: instance.h octree.h | 
| 54 |  |  |  | 
| 55 |  |  | clip.o o_face.o plocate.o:      plocate.h |