ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/Rmakefile
Revision: 1.10
Committed: Wed Oct 23 10:45:41 1991 UTC (32 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.9: +3 -3 lines
Log Message:
standardized macro settings

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 INSTDIR = /usr/local/bin
14
15 LIBDIR = /usr/local/lib/ray
16
17 PROGS = thf2rad ies2rad arch2rad nff2rad lampcolor
18
19 LIBFILES = source.cal tilt.cal lamp.tab
20
21 all: $(PROGS)
22
23 install: $(PROGS) $(LIBFILES)
24 cp $(PROGS) $(INSTDIR)
25 cd $(LIBDIR) ; rm -f $(LIBFILES)
26 cp $(LIBFILES) $(LIBDIR)
27
28 clean:
29 set nonomatch; rm -f $(PROGS) *.o core
30
31 thf2rad: thf2rad.o
32 cc $(CFLAGS) -o thf2rad thf2rad.o
33
34 ies2rad: ies2rad.o
35 cc $(CFLAGS) -o ies2rad ies2rad.o -lrt
36
37 arch2rad: arch2rad.o trans.o
38 cc $(CFLAGS) -o arch2rad arch2rad.o trans.o -lrt
39
40 nff2rad: nff2rad.o
41 cc $(CFLAGS) -o nff2rad nff2rad.o
42
43 lampcolor: lampcolor.o
44 cc $(CFLAGS) -o lampcolor lampcolor.o -lrt
45
46 arch2rad.o trans.o: trans.h
47
48 ies2rad.o spec_rgb.o: ../common/color.h