ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/Rmakefile
(Generate patch)

Comparing ray/src/common/Rmakefile (file contents):
Revision 1.16 by greg, Wed Oct 9 13:00:21 1991 UTC vs.
Revision 2.10 by greg, Sat Oct 17 08:08:00 1992 UTC

# Line 3 | Line 3
3   # Makefile for ray tracing library routines
4   #
5  
6 < OPT = -O -pipe
7 < MACH = -DSTRUCTASSIGN -DBSD -DIEEE -f68881 /usr/lib/libm.il
6 > OPT = -O
7 > MACH = -DBSD
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  
# Line 15 | Line 16 | RTOBJ = cone.o face.o instance.o readobj.o readoct.o o
16          octree.o readfargs.o modobject.o
17  
18   PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \
19 <        colrops.o
19 >        colrops.o font.o
20  
21   STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.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 <        fgetword.o words.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 portio.o $(COMPAT)
28  
29   librt.a:        $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
30          ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
# Line 32 | Line 34 | install:       librt.a
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
40 >        $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c
41  
42   calexpr.o:      calexpr.c calcomp.h
43 <        cc $(CFLAGS) -DVARIABLE -DFUNCTION -DRCONST -c calexpr.c
43 >        $(CC) $(CFLAGS) -DVARIABLE -DFUNCTION -DRCONST -c calexpr.c
44  
45   caldefn.o:      caldefn.c calcomp.h
46 <        cc $(CFLAGS) -DFUNCTION -c caldefn.c
46 >        $(CC) $(CFLAGS) -DFUNCTION -c caldefn.c
47  
48   calfunc.o:      calfunc.c calcomp.h
49 <        cc $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c
49 >        $(CC) $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c
50  
51   color.o colrops.o resolu.o spec_rgb.o:  color.h
52  
# Line 61 | Line 63 | linregr.o:     linregr.h
63   mat4.o:         mat4.h fvect.h
64  
65   cone.o face.o instance.o objset.o otypes.o \
66 < modobject.o readobj.o readoct.o:        object.h
66 > modobject.o readfargs.o readobj.o readoct.o:    object.h
67  
68   objset.o octree.o readoct.o:    octree.h
69  
# Line 72 | Line 74 | urand.o:       random.h
74   cone.o face.o image.o instance.o error.o objset.o octree.o modobject.o \
75   otypes.o readobj.o readoct.o xf.o:      standard.h mat4.h fvect.h
76  
77 + readfargs.o:    fvect.h
78 +
79   image.o:        view.h
80  
81   calprnt.o:      calcomp.h
82 +
83 + process.o:      vfork.h
84 +
85 + font.o: font.h
86 +
87 + fropen.o getpath.o image.o:     paths.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines