--- ray/src/gen/Rmakefile 1989/02/02 14:58:40 1.2 +++ ray/src/gen/Rmakefile 1991/03/19 12:11:03 1.12 @@ -4,21 +4,25 @@ # Makefile for object generation programs # -CFLAGS = -O -f68881 /usr/lib/f68881.il -DIEEE +OPT = -O +MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/libm.il -DIEEE +CFLAGS = $(MACH) $(OPT) -INSTDIR = /usr/local/ray +INSTDIR = /lumen/lumen/ray/bin.sun3 PROGS = genbox gensky xform genblinds genrev genworm \ - gensurf genprism + gensurf genprism replmarks all: $(PROGS) install: $(PROGS) genpine.csh genwindow.csh - sccs check cp $(PROGS) $(INSTDIR) - install genpine.csh $(INSTDIR)/genpine - install genwindow.csh $(INSTDIR)/genwindow + cp genwindow.csh $(INSTDIR)/genwindow + chmod 755 $(INSTDIR)/genwindow +clean: + rm -f $(PROGS) *.o core + genbeads: genbeads.o hermite3.o cc $(CFLAGS) -o genbeads genbeads.o hermite3.o -lm @@ -37,9 +41,12 @@ genblinds: genblinds.o genprism: genprism.o cc $(CFLAGS) -o genprism genprism.o -xform: xform.o xf.o mat4.o - cc $(CFLAGS) -o xform xform.o xf.o mat4.o -lm +xform: xform.o xf.o mat4.o fgetline.o + cc $(CFLAGS) -o xform xform.o xf.o mat4.o fgetline.o -lm +replmarks: replmarks.o fvect.o fgetline.o + cc $(CFLAGS) -o replmarks replmarks.o fvect.o fgetline.o -lm + genrev: genrev.o calexpr.o caldefn.o calfunc.o \ ealloc.o savestr.o cc $(CFLAGS) -o genrev genrev.o caldefn.o calexpr.o \ @@ -67,4 +74,10 @@ caldefn.o: caldefn.c calcomp.h calfunc.o: calfunc.c calcomp.h cc $(CFLAGS) -c -DVARIABLE -DBIGLIB calfunc.c -fvect.o genworm.o: fvect.h +gensurf.o: standard.h mat4.h fvect.h + +fvect.o genworm.o replmarks.o: fvect.h + +mat4.o: mat4.h fvect.h + +xform.o: standard.h mat4.h fvect.h otypes.h