8 |
|
CFLAGS = $(MACH) $(OPT) |
9 |
|
CC = cc |
10 |
|
|
11 |
< |
COMPAT = bmalloc.o erf.o # frexp.o fwrite.o random.o |
11 |
> |
COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o random.o |
12 |
|
|
13 |
|
LIBDIR = /usr/local/lib/ray |
14 |
|
|
18 |
|
PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \ |
19 |
|
colrops.o font.o |
20 |
|
|
21 |
< |
STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o fvect.o urand.o \ |
21 |
> |
STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o \ |
22 |
|
urind.o peano.o calexpr.o caldefn.o calfunc.o calprnt.o \ |
23 |
|
multisamp.o process.o getpath.o error.o savestr.o savqstr.o \ |
24 |
< |
badarg.o fgetword.o words.o wordfile.o cputs.o wputs.o eputs.o quit.o |
24 |
> |
badarg.o fgetword.o words.o expandarg.o wordfile.o \ |
25 |
> |
cputs.o wputs.o eputs.o quit.o |
26 |
|
|
27 |
< |
SYSOBJ = ealloc.o $(COMPAT) |
27 |
> |
SYSOBJ = ealloc.o fdate.o portio.o $(COMPAT) |
28 |
|
|
29 |
|
librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) |
30 |
|
ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) |
34 |
|
mv librt.a ../lib |
35 |
|
|
36 |
|
clean: |
37 |
< |
rm -f $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) librt.a |
37 |
> |
rm -f *.o librt.a |
38 |
|
|
39 |
|
fropen.o: fropen.c |
40 |
|
$(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c |
60 |
|
|
61 |
|
linregr.o: linregr.h |
62 |
|
|
63 |
< |
mat4.o: mat4.h fvect.h |
63 |
> |
mat4.o invmat4.o: mat4.h fvect.h |
64 |
|
|
65 |
|
cone.o face.o instance.o objset.o otypes.o \ |
66 |
|
modobject.o readfargs.o readobj.o readoct.o: object.h |
83 |
|
process.o: vfork.h |
84 |
|
|
85 |
|
font.o: font.h |
86 |
+ |
|
87 |
+ |
fropen.o getpath.o image.o: paths.h |