| 1 | gregl | 3.1 | # | 
| 2 |  |  | # SCCSid "$SunId$ SGI" | 
| 3 |  |  | # Radiance makefile for holodeck programs | 
| 4 |  |  | # | 
| 5 |  |  |  | 
| 6 |  |  | MACH = -DBSD | 
| 7 |  |  |  | 
| 8 |  |  | OPT = -O | 
| 9 |  |  |  | 
| 10 |  |  | CFLAGS = $(MACH) $(OPT) -I../common -L../lib | 
| 11 |  |  |  | 
| 12 |  |  | CC = cc | 
| 13 |  |  |  | 
| 14 |  |  | INSTDIR = /usr/local/bin | 
| 15 |  |  |  | 
| 16 |  |  | LIBDIR = /usr/local/lib/ray | 
| 17 |  |  |  | 
| 18 |  |  | PROGS = rholo | 
| 19 |  |  |  | 
| 20 |  |  | all:    $(PROGS) | 
| 21 |  |  |  | 
| 22 |  |  | install:        all | 
| 23 |  |  | cp $(PROGS) $(INSTDIR) | 
| 24 |  |  |  | 
| 25 |  |  | clean: | 
| 26 |  |  | set nonomatch; rm -f *.o $(PROGS) core | 
| 27 |  |  |  | 
| 28 |  |  | rholo:  rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o holo.o holofile.o | 
| 29 |  |  | $(CC) $(CFLAGS) -o rholo rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \ | 
| 30 |  |  | holo.o holofile.o -lrt -lm | 
| 31 |  |  |  | 
| 32 |  |  | rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o:   rholo.h | 
| 33 |  |  |  | 
| 34 |  |  | rholo4.o:       rhdisp.h | 
| 35 |  |  |  | 
| 36 |  |  | holo.o holofile.o \ | 
| 37 |  |  | rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o:   holo.h \ | 
| 38 |  |  | ../common/vars.h ../common/color.h \ | 
| 39 |  |  | ../common/standard.h ../common/mat4.h ../common/fvect.h |