--- ray/src/common/Rmakefile 1991/08/22 09:21:20 1.14 +++ ray/src/common/Rmakefile 1991/10/23 13:43:17 1.18 @@ -3,10 +3,12 @@ # Makefile for ray tracing library routines # -OPT = -O -pipe -MACH = -DSTRUCTASSIGN -DBSD -DIEEE -f68881 /usr/lib/libm.il +OPT = -O +MACH = -DSTRUCTASSIGN -DBSD CFLAGS = $(MACH) $(OPT) +COMPAT = bmalloc.o erf.o # frexp.o fwrite.o random.o + LIBDIR = /usr/local/lib/ray RTOBJ = cone.o face.o instance.o readobj.o readoct.o otypes.o objset.o \ @@ -17,18 +19,18 @@ PICOBJ = color.o header.o image.o lamps.o resolu.o rex STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o fvect.o urand.o \ urind.o peano.o calexpr.o caldefn.o calfunc.o calprnt.o \ - process.o getpath.o error.o savestr.o savqstr.o \ + multisamp.o process.o getpath.o error.o savestr.o savqstr.o \ fgetword.o words.o cputs.o wputs.o eputs.o quit.o -SYSOBJ = ealloc.o bmalloc.o erf.o # frexp.o fwrite.o random.o bcopy.o +SYSOBJ = ealloc.o $(COMPAT) -install: librt.a - mv librt.a ../lib - librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) -ranlib librt.a +install: librt.a + mv librt.a ../lib + clean: rm -f $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ) librt.a @@ -59,7 +61,7 @@ linregr.o: linregr.h mat4.o: mat4.h fvect.h cone.o face.o instance.o objset.o otypes.o \ -modobject.o readobj.o readoct.o: object.h +modobject.o readfargs.o readobj.o readoct.o: object.h objset.o octree.o readoct.o: octree.h @@ -69,6 +71,8 @@ urand.o: random.h cone.o face.o image.o instance.o error.o objset.o octree.o modobject.o \ otypes.o readobj.o readoct.o xf.o: standard.h mat4.h fvect.h + +readfargs.o: fvect.h image.o: view.h