| 4 |
|
# Makefile for object generation programs |
| 5 |
|
# |
| 6 |
|
|
| 7 |
< |
CFLAGS = -O -f68881 /usr/lib/f68881.il -DIEEE |
| 7 |
> |
OPT = -O |
| 8 |
> |
MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/f68881.il -DIEEE |
| 9 |
> |
CFLAGS = $(MACH) $(OPT) |
| 10 |
|
|
| 11 |
|
INSTDIR = /usr/local/ray |
| 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 |
| 17 |
– |
sccs check |
| 19 |
|
cp $(PROGS) $(INSTDIR) |
| 20 |
|
install genpine.csh $(INSTDIR)/genpine |
| 21 |
|
install genwindow.csh $(INSTDIR)/genwindow |
| 38 |
|
genprism: genprism.o |
| 39 |
|
cc $(CFLAGS) -o genprism genprism.o |
| 40 |
|
|
| 41 |
< |
xform: xform.o xf.o mat4.o |
| 42 |
< |
cc $(CFLAGS) -o xform xform.o xf.o mat4.o -lm |
| 41 |
> |
xform: xform.o xf.o mat4.o fgetline.o |
| 42 |
> |
cc $(CFLAGS) -o xform xform.o xf.o mat4.o fgetline.o -lm |
| 43 |
|
|
| 44 |
+ |
replmarks: replmarks.o fvect.o fgetline.o |
| 45 |
+ |
cc $(CFLAGS) -o replmarks replmarks.o fvect.o fgetline.o -lm |
| 46 |
+ |
|
| 47 |
|
genrev: genrev.o calexpr.o caldefn.o calfunc.o \ |
| 48 |
|
ealloc.o savestr.o |
| 49 |
|
cc $(CFLAGS) -o genrev genrev.o caldefn.o calexpr.o \ |
| 71 |
|
calfunc.o: calfunc.c calcomp.h |
| 72 |
|
cc $(CFLAGS) -c -DVARIABLE -DBIGLIB calfunc.c |
| 73 |
|
|
| 74 |
< |
fvect.o genworm.o: fvect.h |
| 74 |
> |
gensurf.o: standard.h mat4.h fvect.h |
| 75 |
> |
|
| 76 |
> |
fvect.o genworm.o replmarks.o: fvect.h |
| 77 |
> |
|
| 78 |
> |
mat4.o: mat4.h fvect.h |
| 79 |
> |
|
| 80 |
> |
xform.o: standard.h mat4.h fvect.h otypes.h |