ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cal/Rmakefile
Revision: 1.10
Committed: Fri Jul 5 00:20:57 2019 UTC (4 years, 10 months ago) by greg
Branch: MAIN
CVS Tags: rad5R3
Changes since 1.9: +5 -2 lines
Log Message:
Added rsplit tool to divide input to multiple output streams

File Contents

# User Rev Content
1 greg 1.10 # RCSid: $Id: Rmakefile,v 1.9 2016/08/18 00:55:14 greg Exp $
2 greg 1.1 #
3 greg 1.2 # Compiles for icalc, rcalc, ev, and utilities
4 greg 1.1 #
5    
6     OPT = -O
7    
8     CC = cc
9    
10     MACH = -DIEEE
11    
12     DEFS = -DBIGGERLIB
13    
14     CFLAGS = $(OPT) $(MACH) $(DEFS) -I../common -L../lib
15    
16     MLIB = -lm
17    
18     INSTDIR = /usr/local/bin
19    
20 greg 1.10 PROGS = icalc ev rcalc total cnt neaten rlam rsplit tabfunc histo
21 greg 1.1
22     all: $(PROGS)
23    
24     install: $(PROGS)
25     cp $(PROGS) $(INSTDIR)
26    
27     clean:
28     set nonomatch; rm -f *.o $(PROGS)
29    
30 greg 1.2 icalc: calc.o
31 schorsch 1.4 $(CC) $(CFLAGS) -o icalc calc.o -lrtrad $(MLIB)
32 greg 1.1
33     ev: ev.o
34 schorsch 1.4 $(CC) $(CFLAGS) -o ev ev.o -lrtrad $(MLIB)
35 greg 1.1
36     rcalc: rcalc.o
37 schorsch 1.4 $(CC) $(CFLAGS) -o rcalc rcalc.o -lrtrad $(MLIB)
38 greg 1.1
39     total: total.o
40 greg 1.9 $(CC) $(CFLAGS) -o total total.o -lrtrad $(MLIB)
41 greg 1.1
42     cnt: cnt.o
43     $(CC) $(CFLAGS) -o cnt cnt.o
44    
45 greg 1.2 neaten: neat.o
46     $(CC) $(CFLAGS) -o neaten neat.o
47 greg 1.1
48 greg 1.2 rlam: lam.o
49 greg 1.8 $(CC) $(CFLAGS) -o rlam lam.o -lrtrad
50 greg 1.1
51 greg 1.10 rsplit: rsplit.o
52     $(CC) $(CFLAGS) -o rsplit rsplit.c -lrtrad
53    
54 greg 1.1 tabfunc: tabfunc.o
55 greg 1.6 $(CC) $(CFLAGS) -o tabfunc tabfunc.o -lrtrad $(MLIB)
56 greg 1.1
57     histo: histo.o
58     $(CC) $(CFLAGS) -o histo histo.o $(MLIB)
59    
60     calc.o ev.o rcalc.o: ../common/calcomp.h
61 greg 1.3
62     total.o rcalc.o: ../common/platform.h
63    
64     rcalc.o: ../common/rterror.h ../common/rtmisc.h ../common/rtio.h
65 greg 1.7
66     tabfunc.o: ../common/rtmath.h ../common/mat4.h \
67     ../common/fvect.h ../common/tiff.h