ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/Rmakefile
Revision: 2.4
Committed: Tue Feb 15 15:59:57 1994 UTC (30 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.3: +9 -2 lines
Log Message:
added tmesh2rad program

File Contents

# Content
1 # SCCSid "$SunId$ LBL"
2
3 #
4 # Makefile for conversion programs
5 #
6
7 OPT = -O
8
9 MACH = -DBSD
10
11 CFLAGS = $(OPT) $(MACH) -I../common -L../lib
12
13 CC = cc
14
15 MLIB = -lm
16
17 INSTDIR = /usr/local/bin
18
19 LIBDIR = /usr/local/lib/ray
20
21 PROGS = thf2rad ies2rad arch2rad nff2rad lampcolor tmesh2rad
22
23 LIBFILES = source.cal tilt.cal lamp.tab tmesh.cal
24
25 all: $(PROGS)
26
27 install: $(PROGS) $(LIBFILES)
28 cp $(PROGS) $(INSTDIR)
29 cd $(LIBDIR) ; rm -f $(LIBFILES)
30 cp $(LIBFILES) $(LIBDIR)
31
32 clean:
33 set nonomatch; rm -f $(PROGS) *.o core
34
35 thf2rad: thf2rad.o
36 $(CC) $(CFLAGS) -o thf2rad thf2rad.o
37
38 ies2rad: ies2rad.o
39 $(CC) $(CFLAGS) -o ies2rad ies2rad.o -lrt
40
41 arch2rad: arch2rad.o trans.o
42 $(CC) $(CFLAGS) -o arch2rad arch2rad.o trans.o -lrt
43
44 nff2rad: nff2rad.o
45 $(CC) $(CFLAGS) -o nff2rad nff2rad.o
46
47 lampcolor: lampcolor.o
48 $(CC) $(CFLAGS) -o lampcolor lampcolor.o -lrt
49
50 tmesh2rad: tmesh2rad.o
51 $(CC) $(CFLAGS) -o tmesh2rad tmesh2rad.o -lrt $(MLIB)
52
53 arch2rad.o trans.o: trans.h
54
55 ies2rad.o lampcolor.o: ../common/color.h
56
57 ies2rad.o: ../common/paths.h
58
59 tmesh2rad.o: ../common/standard.h ../common/mat4.h ../common/fvect.h