1 |
greg |
1.1 |
# SCCSid "$SunId$ LBL" |
2 |
|
|
|
3 |
|
|
# |
4 |
|
|
# Makefile for object generation programs |
5 |
|
|
# |
6 |
|
|
|
7 |
greg |
1.5 |
OPT = -O |
8 |
greg |
1.7 |
MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/f68881.il -DIEEE |
9 |
greg |
1.5 |
CFLAGS = $(MACH) $(OPT) |
10 |
greg |
1.1 |
|
11 |
|
|
INSTDIR = /usr/local/ray |
12 |
|
|
|
13 |
|
|
PROGS = genbox gensky xform genblinds genrev genworm \ |
14 |
greg |
1.2 |
gensurf genprism |
15 |
greg |
1.1 |
|
16 |
|
|
all: $(PROGS) |
17 |
|
|
|
18 |
greg |
1.2 |
install: $(PROGS) genpine.csh genwindow.csh |
19 |
greg |
1.1 |
cp $(PROGS) $(INSTDIR) |
20 |
greg |
1.2 |
install genpine.csh $(INSTDIR)/genpine |
21 |
|
|
install genwindow.csh $(INSTDIR)/genwindow |
22 |
greg |
1.1 |
|
23 |
|
|
genbeads: genbeads.o hermite3.o |
24 |
|
|
cc $(CFLAGS) -o genbeads genbeads.o hermite3.o -lm |
25 |
|
|
|
26 |
|
|
genbox: genbox.o |
27 |
|
|
cc $(CFLAGS) -o genbox genbox.o |
28 |
|
|
|
29 |
|
|
genmarble: genmarble.o random.h |
30 |
|
|
cc $(CFLAGS) -o genmarble genmarble.o -lm |
31 |
|
|
|
32 |
|
|
gensky: gensky.o sun.o |
33 |
|
|
cc $(CFLAGS) -o gensky gensky.o sun.o -lm |
34 |
|
|
|
35 |
|
|
genblinds: genblinds.o |
36 |
|
|
cc $(CFLAGS) -o genblinds genblinds.o -lm |
37 |
|
|
|
38 |
|
|
genprism: genprism.o |
39 |
|
|
cc $(CFLAGS) -o genprism genprism.o |
40 |
|
|
|
41 |
greg |
1.4 |
xform: xform.o xf.o mat4.o fgetline.o |
42 |
|
|
cc $(CFLAGS) -o xform xform.o xf.o mat4.o fgetline.o -lm |
43 |
greg |
1.1 |
|
44 |
|
|
genrev: genrev.o calexpr.o caldefn.o calfunc.o \ |
45 |
|
|
ealloc.o savestr.o |
46 |
|
|
cc $(CFLAGS) -o genrev genrev.o caldefn.o calexpr.o \ |
47 |
|
|
calfunc.o ealloc.o savestr.o -lm |
48 |
|
|
|
49 |
|
|
genworm: genworm.o calexpr.o caldefn.o calfunc.o \ |
50 |
|
|
ealloc.o savestr.o fvect.o |
51 |
|
|
cc $(CFLAGS) -o genworm genworm.o caldefn.o calexpr.o \ |
52 |
|
|
calfunc.o ealloc.o savestr.o fvect.o -lm |
53 |
|
|
|
54 |
|
|
gensurf: gensurf.o fvect.o calexpr.o caldefn.o calfunc.o \ |
55 |
|
|
ealloc.o savestr.o |
56 |
|
|
cc $(CFLAGS) -o gensurf gensurf.o caldefn.o calexpr.o \ |
57 |
|
|
calfunc.o ealloc.o savestr.o fvect.o -lm |
58 |
|
|
|
59 |
|
|
genbranch: genbranch.o |
60 |
|
|
cc $(CFLAGS) -o genbranch genbranch.o -lm |
61 |
|
|
|
62 |
|
|
calexpr.o: calexpr.c calcomp.h |
63 |
|
|
cc $(CFLAGS) -c -DVARIABLE -DFUNCTION -DRCONST calexpr.c |
64 |
|
|
|
65 |
|
|
caldefn.o: caldefn.c calcomp.h |
66 |
|
|
cc $(CFLAGS) -c -DFUNCTION caldefn.c |
67 |
|
|
|
68 |
|
|
calfunc.o: calfunc.c calcomp.h |
69 |
|
|
cc $(CFLAGS) -c -DVARIABLE -DBIGLIB calfunc.c |
70 |
|
|
|
71 |
greg |
1.9 |
gensurf.o: standard.h mat4.h fvect.h |
72 |
greg |
1.7 |
|
73 |
|
|
fvect.o genworm.o: fvect.h |
74 |
greg |
1.8 |
|
75 |
greg |
1.9 |
mat4.o: mat4.h fvect.h |
76 |
|
|
|
77 |
|
|
xform.o: standard.h mat4.h fvect.h otypes.h |