--- ray/src/gen/Rmakefile 1989/10/04 16:07:54 1.4 +++ ray/src/gen/Rmakefile 1991/04/11 09:21:21 1.13 @@ -4,20 +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 cp $(PROGS) $(INSTDIR) - install genpine.csh $(INSTDIR)/genpine - install genwindow.csh $(INSTDIR)/genwindow + cp genwindow.csh $(INSTDIR)/genwindow + chmod 755 $(INSTDIR)/genwindow +clean: + set nonomatch; rm -f $(PROGS) *.o core + genbeads: genbeads.o hermite3.o cc $(CFLAGS) -o genbeads genbeads.o hermite3.o -lm @@ -39,6 +44,9 @@ genprism: genprism.o 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 \ @@ -66,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