5 |
|
# |
6 |
|
|
7 |
|
OPT = -O |
8 |
< |
MACH = -f68881 /usr/lib/f68881.il -DIEEE |
8 |
> |
MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/libm.il -DIEEE |
9 |
|
CFLAGS = $(MACH) $(OPT) |
10 |
|
|
11 |
< |
INSTDIR = /usr/local/ray |
11 |
> |
INSTDIR = /lumen/lumen/ray/bin.sun3 |
12 |
|
|
13 |
|
PROGS = genbox gensky xform genblinds genrev genworm \ |
14 |
< |
gensurf genprism |
14 |
> |
gensurf genprism replmarks |
15 |
|
|
16 |
|
all: $(PROGS) |
17 |
|
|
18 |
|
install: $(PROGS) genpine.csh genwindow.csh |
19 |
|
cp $(PROGS) $(INSTDIR) |
20 |
< |
install genpine.csh $(INSTDIR)/genpine |
21 |
< |
install genwindow.csh $(INSTDIR)/genwindow |
20 |
> |
cp genwindow.csh $(INSTDIR)/genwindow |
21 |
> |
chmod 755 $(INSTDIR)/genwindow |
22 |
|
|
23 |
+ |
clean: |
24 |
+ |
set nonomatch; rm -f $(PROGS) *.o core |
25 |
+ |
|
26 |
|
genbeads: genbeads.o hermite3.o |
27 |
|
cc $(CFLAGS) -o genbeads genbeads.o hermite3.o -lm |
28 |
|
|
44 |
|
xform: xform.o xf.o mat4.o fgetline.o |
45 |
|
cc $(CFLAGS) -o xform xform.o xf.o mat4.o fgetline.o -lm |
46 |
|
|
47 |
+ |
replmarks: replmarks.o fvect.o fgetline.o |
48 |
+ |
cc $(CFLAGS) -o replmarks replmarks.o fvect.o fgetline.o -lm |
49 |
+ |
|
50 |
|
genrev: genrev.o calexpr.o caldefn.o calfunc.o \ |
51 |
|
ealloc.o savestr.o |
52 |
|
cc $(CFLAGS) -o genrev genrev.o caldefn.o calexpr.o \ |
74 |
|
calfunc.o: calfunc.c calcomp.h |
75 |
|
cc $(CFLAGS) -c -DVARIABLE -DBIGLIB calfunc.c |
76 |
|
|
77 |
< |
fvect.o gensurf.o genworm.o: fvect.h |
77 |
> |
gensurf.o: standard.h mat4.h fvect.h |
78 |
> |
|
79 |
> |
fvect.o genworm.o replmarks.o: fvect.h |
80 |
> |
|
81 |
> |
mat4.o: mat4.h fvect.h |
82 |
> |
|
83 |
> |
xform.o: standard.h mat4.h fvect.h otypes.h |