15 |
|
|
16 |
|
LIBDIR = /usr/local/lib/ray |
17 |
|
|
18 |
< |
PROGS = findglare xglaresrc glarendx rpiece rad |
18 |
> |
PROGS = findglare xglaresrc glarendx rpiece rad vwright |
19 |
|
|
20 |
– |
TLIBFILES = do_action.tcl do_file.tcl do_options.tcl do_results.tcl \ |
21 |
– |
do_scene.tcl do_views.tcl do_zone.tcl \ |
22 |
– |
getfile.tcl gethelp.tcl util.tcl tclIndex \ |
23 |
– |
trad.hlp help.hlp file.hlp trad.icon |
24 |
– |
|
20 |
|
all: $(PROGS) |
21 |
|
|
22 |
|
install: all objview.csh objpict.csh glare.csh dayfact.csh rlux.csh \ |
31 |
|
cp raddepend.csh $(INSTDIR)/raddepend |
32 |
|
cp ivprep.csh $(INSTDIR)/ivprep |
33 |
|
cp ivpict.csh $(INSTDIR)/ivpict |
39 |
– |
sed "s|^set radlib .*|set radlib $(LIBDIR)/tcl|" trad.wsh > $(INSTDIR)/trad |
34 |
|
chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ |
35 |
|
$(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ |
36 |
|
$(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \ |
37 |
< |
$(INSTDIR)/ivpict $(INSTDIR)/trad |
38 |
< |
cd $(LIBDIR)/tcl ; rm -f $(TLIBFILES) |
45 |
< |
cp $(TLIBFILES) $(LIBDIR)/tcl |
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 |