1 |
|
# |
2 |
|
# SCCSid "$SunId$ LBL" |
3 |
+ |
# Radiance makefile for utility programs |
4 |
|
# |
5 |
|
|
6 |
|
MACH = -DBSD |
13 |
|
|
14 |
|
INSTDIR = /usr/local/bin |
15 |
|
|
16 |
< |
PROGS = findglare xglaresrc glarendx rpiece rad |
16 |
> |
LIBDIR = /usr/local/lib/ray |
17 |
|
|
18 |
+ |
PROGS = findglare xglaresrc glarendx rpiece rad vwright |
19 |
+ |
|
20 |
|
all: $(PROGS) |
21 |
|
|
22 |
< |
install: all objview.csh objpict.csh proj.csh glare.csh dayfact.csh \ |
23 |
< |
rlux.csh |
22 |
> |
install: all objview.csh objpict.csh glare.csh dayfact.csh rlux.csh \ |
23 |
> |
raddepend.csh ivprep.csh ivpict.csh trad.wsh |
24 |
|
cp $(PROGS) $(INSTDIR) |
25 |
|
cp objview.csh $(INSTDIR)/objview |
26 |
|
cp objpict.csh $(INSTDIR)/objpict |
28 |
|
cp dayfact.csh $(INSTDIR)/dayfact |
29 |
|
cp debugcal.csh $(INSTDIR)/debugcal |
30 |
|
cp rlux.csh $(INSTDIR)/rlux |
31 |
+ |
cp raddepend.csh $(INSTDIR)/raddepend |
32 |
+ |
cp ivprep.csh $(INSTDIR)/ivprep |
33 |
+ |
cp ivpict.csh $(INSTDIR)/ivpict |
34 |
|
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ |
35 |
|
$(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ |
36 |
< |
$(INSTDIR)/rlux |
36 |
> |
$(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \ |
37 |
> |
$(INSTDIR)/ivpict |
38 |
> |
csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl |
39 |
|
|
40 |
|
clean: |
41 |
|
set nonomatch; rm -f *.o $(PROGS) core |
62 |
|
|
63 |
|
rpiece: rpiece.o Version.o |
64 |
|
$(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm |
65 |
+ |
|
66 |
+ |
vwright: vwright.o |
67 |
+ |
$(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm |
68 |
|
|
69 |
|
contour: contour.o |
70 |
|
$(CC) $(CFLAGS) -o contour contour.o -lm |