ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/Rmakefile
Revision: 1.18
Committed: Wed Oct 23 13:43:17 1991 UTC (32 years, 6 months ago) by greg
Branch: MAIN
Changes since 1.17: +3 -1 lines
Log Message:
added FLOAT definition to better control size of structures

File Contents

# Content
1 #
2 # SCCSid "$SunId$ LBL"
3 # Makefile for ray tracing library routines
4 #
5
6 OPT = -O
7 MACH = -DSTRUCTASSIGN -DBSD
8 CFLAGS = $(MACH) $(OPT)
9
10 COMPAT = bmalloc.o erf.o # frexp.o fwrite.o random.o
11
12 LIBDIR = /usr/local/lib/ray
13
14 RTOBJ = cone.o face.o instance.o readobj.o readoct.o otypes.o objset.o \
15 octree.o readfargs.o modobject.o
16
17 PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \
18 colrops.o
19
20 STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o fvect.o urand.o \
21 urind.o peano.o calexpr.o caldefn.o calfunc.o calprnt.o \
22 multisamp.o process.o getpath.o error.o savestr.o savqstr.o \
23 fgetword.o words.o cputs.o wputs.o eputs.o quit.o
24
25 SYSOBJ = ealloc.o $(COMPAT)
26
27 librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
28 ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
29 -ranlib librt.a
30
31 install: librt.a
32 mv librt.a ../lib
33
34 clean:
35 rm -f $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) librt.a
36
37 fropen.o: fropen.c
38 cc $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c
39
40 calexpr.o: calexpr.c calcomp.h
41 cc $(CFLAGS) -DVARIABLE -DFUNCTION -DRCONST -c calexpr.c
42
43 caldefn.o: caldefn.c calcomp.h
44 cc $(CFLAGS) -DFUNCTION -c caldefn.c
45
46 calfunc.o: calfunc.c calcomp.h
47 cc $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c
48
49 color.o colrops.o resolu.o spec_rgb.o: color.h
50
51 cone.o: cone.h
52
53 face.o: face.h
54
55 fvect.o: fvect.h
56
57 instance.o: instance.h
58
59 linregr.o: linregr.h
60
61 mat4.o: mat4.h fvect.h
62
63 cone.o face.o instance.o objset.o otypes.o \
64 modobject.o readfargs.o readobj.o readoct.o: object.h
65
66 objset.o octree.o readoct.o: octree.h
67
68 cone.o modobject.o objset.o otypes.o readobj.o readoct.o: otypes.h
69
70 urand.o: random.h
71
72 cone.o face.o image.o instance.o error.o objset.o octree.o modobject.o \
73 otypes.o readobj.o readoct.o xf.o: standard.h mat4.h fvect.h
74
75 readfargs.o: fvect.h
76
77 image.o: view.h
78
79 calprnt.o: calcomp.h