12 |
|
MACH = -DBSD |
13 |
|
CFLAGS = -DSTRICT $(OPT) $(MACH) -I../common -L../lib |
14 |
|
CC = cc |
15 |
+ |
MLIB = -lm |
16 |
|
|
17 |
|
LIBDIR = /usr/local/lib/ray |
18 |
|
|
24 |
|
clip.o o_cone.o o_instance.o bbox.o initotypes.o readfargs.o malloc.o |
25 |
|
$(CC) $(CFLAGS) -o oconv oconv.o writeoct.o sphere.o o_face.o \ |
26 |
|
plocate.o clip.o o_cone.o o_instance.o bbox.o readfargs.o \ |
27 |
< |
initotypes.o malloc.o -lrt -lm |
27 |
> |
initotypes.o malloc.o -lrt $(MLIB) |
28 |
|
|
29 |
|
getbbox: getbbox.o readobj2.o bbox.o init2otypes.o |
30 |
|
$(CC) $(CFLAGS) -o getbbox getbbox.o readobj2.o \ |
31 |
< |
bbox.o init2otypes.o -lrt -lm |
31 |
> |
bbox.o init2otypes.o -lrt $(MLIB) |
32 |
|
|
33 |
|
install: oconv getbbox |
34 |
|
cp oconv getbbox $(INSTDIR) |