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

Comparing ray/src/cal/Rmakefile (file contents):
Revision 1.1 by greg, Sat Feb 22 02:07:20 2003 UTC vs.
Revision 1.12 by greg, Thu Feb 9 00:18:05 2023 UTC

# Line 1 | Line 1
1   # RCSid: $Id$
2   #
3 < #  Compiles for calc, rcalc, ev, and utilities
3 > #  Compiles for icalc, rcalc, ev, and utilities
4   #
5  
6   OPT = -O
# Line 15 | Line 15 | CFLAGS = $(OPT) $(MACH) $(DEFS) -I../common -L../lib
15  
16   MLIB = -lm
17  
18 + INSTALL = cp
19 +
20   INSTDIR = /usr/local/bin
21  
22 < PROGS = calc ev rcalc total cnt neat lam tabfunc histo
22 > PROGS = icalc ev rcalc total cnt neaten rlam rsplit tabfunc histo
23  
24   all:    $(PROGS)
25  
26   install:        $(PROGS)
27 <        cp $(PROGS) $(INSTDIR)
27 >        $(INSTALL) $(PROGS) $(INSTDIR)
28  
29   clean:
30          set nonomatch; rm -f *.o $(PROGS)
31  
32 < calc:   calc.o
33 <        $(CC) $(CFLAGS) -o calc calc.o -lrt $(MLIB)
32 > icalc:  calc.o
33 >        $(CC) $(CFLAGS) -o icalc calc.o -lrtrad $(MLIB)
34  
35   ev:     ev.o
36 <        $(CC) $(CFLAGS) -o ev ev.o -lrt $(MLIB)
36 >        $(CC) $(CFLAGS) -o ev ev.o -lrtrad $(MLIB)
37  
38   rcalc:  rcalc.o
39 <        $(CC) $(CFLAGS) -o rcalc rcalc.o -lrt $(MLIB)
39 >        $(CC) $(CFLAGS) -o rcalc rcalc.o -lrtrad $(MLIB)
40  
41   total:  total.o
42 <        $(CC) $(CFLAGS) -o total total.o $(MLIB)
42 >        $(CC) $(CFLAGS) -o total total.o -lrtrad $(MLIB)
43  
44   cnt:            cnt.o
45 <        $(CC) $(CFLAGS) -o cnt cnt.o
45 >        $(CC) $(CFLAGS) -o cnt cnt.o -lrtrad
46  
47 < neat:   neat.o
48 <        $(CC) $(CFLAGS) -o neat neat.o
47 > neaten: neat.o
48 >        $(CC) $(CFLAGS) -o neaten neat.o
49  
50 < lam:            lam.o
51 <        $(CC) $(CFLAGS) -o lam lam.o
50 > rlam:           lam.o
51 >        $(CC) $(CFLAGS) -o rlam lam.o -lrtrad
52  
53 + rsplit: rsplit.o
54 +        $(CC) $(CFLAGS) -o rsplit rsplit.c -lrtrad
55 +
56   tabfunc:        tabfunc.o
57 <        $(CC) $(CFLAGS) -o tabfunc tabfunc.o -lrt $(MLIB)
57 >        $(CC) $(CFLAGS) -o tabfunc tabfunc.o -lrtrad $(MLIB)
58  
59   histo:  histo.o
60          $(CC) $(CFLAGS) -o histo histo.o $(MLIB)
61  
62   calc.o ev.o rcalc.o:    ../common/calcomp.h
63 +
64 + total.o rcalc.o:        ../common/platform.h
65 +
66 + rcalc.o:        ../common/rterror.h ../common/rtmisc.h ../common/rtio.h
67 +
68 + tabfunc.o:      ../common/rtmath.h ../common/mat4.h \
69 + ../common/fvect.h ../common/tiff.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines