1 |
greg |
1.1 |
# |
2 |
|
|
# SCCSid "$SunId$ LBL" |
3 |
|
|
# Makefile for ray tracing library routines |
4 |
|
|
# |
5 |
|
|
|
6 |
|
|
OPT = -O -pipe |
7 |
|
|
MACH = -DSTRUCTASSIGN -DBSD -DIEEE -f68881 /usr/lib/libm.il |
8 |
|
|
CFLAGS = $(MACH) $(OPT) |
9 |
|
|
CC = cc |
10 |
|
|
|
11 |
|
|
RTOBJ = cone.o face.o instance.o readobj.o readoct.o otypes.o objset.o \ |
12 |
|
|
octree.o |
13 |
|
|
|
14 |
|
|
PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \ |
15 |
|
|
colrops.o |
16 |
|
|
|
17 |
|
|
STDOBJ = fgetline.o linregr.o xf.o mat4.o misc.o fvect.o \ |
18 |
|
|
savestr.o urand.o cputs.o wputs.o eputs.o quit.o |
19 |
|
|
|
20 |
|
|
SYSOBJ = ealloc.o bmalloc.o # erf.o frexp.o fwrite.o random.o bcopy.o |
21 |
|
|
|
22 |
|
|
librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) |
23 |
|
|
ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) |
24 |
|
|
@ ranlib librt.a |
25 |
|
|
|
26 |
|
|
color.o colrops.o resolu.o spec_rgb.o: color.h |
27 |
|
|
|
28 |
|
|
cone.o: cone.h |
29 |
|
|
|
30 |
|
|
face.o: face.h |
31 |
|
|
|
32 |
|
|
fvect.o: fvect.h |
33 |
|
|
|
34 |
|
|
instance.o: instance.h |
35 |
|
|
|
36 |
|
|
linregr.o: linregr.h |
37 |
|
|
|
38 |
|
|
mat4.o: mat4.h |
39 |
|
|
|
40 |
|
|
cone.o face.o instance.o objset.o otypes.o \ |
41 |
|
|
readobj.o readoct.o: object.h |
42 |
|
|
|
43 |
|
|
objset.o octree.o readoct.o: octree.h |
44 |
|
|
|
45 |
|
|
cone.o objset.o otypes.o readobj.o readoct.o: otypes.h |
46 |
|
|
|
47 |
|
|
urand.o: random.h |
48 |
|
|
|
49 |
|
|
cone.o face.o image.o instance.o misc.o objset.o octree.o \ |
50 |
|
|
otypes.o readobj.o readoct.o xf.o: standard.h mat4.h fvect.h |
51 |
|
|
|
52 |
|
|
image.o: view.h |