| 9 |
|
CC = cc |
| 10 |
|
MLIB = -lm |
| 11 |
|
|
| 12 |
+ |
INSTALL = cp |
| 13 |
+ |
|
| 14 |
|
INSTDIR = /usr/local/bin |
| 15 |
|
|
| 16 |
|
LIBDIR = /usr/local/lib/ray |
| 24 |
|
all: $(PROGS) |
| 25 |
|
|
| 26 |
|
install: $(PROGS) $(LIBFILES) glaze.csh |
| 27 |
< |
cp $(PROGS) $(INSTDIR) |
| 27 |
> |
$(INSTALL) $(PROGS) $(INSTDIR) |
| 28 |
|
cp glaze.csh $(INSTDIR)/glaze |
| 29 |
|
chmod 755 $(INSTDIR)/glaze |
| 30 |
|
cd $(LIBDIR) && rm -f $(LIBFILES) |
| 37 |
|
$(CC) $(CFLAGS) -o genbeads genbeads.o hermite3.o $(MLIB) |
| 38 |
|
|
| 39 |
|
genbox: genbox.o |
| 40 |
< |
$(CC) $(CFLAGS) -o genbox genbox.o -lrtrad |
| 40 |
> |
$(CC) $(CFLAGS) -o genbox genbox.o -lwfobj -lrtrad $(MLIB) |
| 41 |
|
|
| 42 |
|
genmarble: genmarble.o ../common/random.h |
| 43 |
|
$(CC) $(CFLAGS) -o genmarble genmarble.o $(MLIB) |
| 101 |
|
../common/rtmisc.h ../common/rtio.h \ |
| 102 |
|
../common/rtmath.h ../common/rterror.h \ |
| 103 |
|
../common/mat4.h ../common/fvect.h |
| 104 |
+ |
|
| 105 |
+ |
genbox.o: ../common/fvect.h ../common/objutil.h ../common/rtio.h |
| 106 |
|
|
| 107 |
|
genworm.o genrev.o gensurf.o: ../common/resolu.h ../common/rterror.h |
| 108 |
|
|