6 |
|
|
7 |
|
OPT = -O |
8 |
|
|
9 |
< |
MACH = -f68881 /usr/lib/libm.il -DBSD |
9 |
> |
MACH = -DBSD |
10 |
|
|
11 |
|
CFLAGS = $(OPT) $(MACH) -I../common -L../lib |
12 |
|
|
13 |
< |
INSTDIR = /lumen/lumen/ray/bin.sun3 |
13 |
> |
INSTDIR = /usr/local/bin |
14 |
|
|
15 |
< |
LIBDIR = /lumen/lumen/ray/lib |
15 |
> |
LIBDIR = /usr/local/lib/ray |
16 |
|
|
17 |
|
PROGS = thf2rad ies2rad arch2rad nff2rad lampcolor |
18 |
|
|
19 |
+ |
LIBFILES = source.cal tilt.cal lamp.tab |
20 |
+ |
|
21 |
|
all: $(PROGS) |
22 |
|
|
23 |
< |
install: $(PROGS) source.cal tilt.cal |
23 |
> |
install: $(PROGS) $(LIBFILES) |
24 |
|
cp $(PROGS) $(INSTDIR) |
25 |
< |
rm -f $(LIBDIR)/source.cal $(LIBDIR)/tilt.cal |
26 |
< |
cp source.cal tilt.cal $(LIBDIR) |
25 |
> |
cd $(LIBDIR) ; rm -f $(LIBFILES) |
26 |
> |
cp $(LIBFILES) $(LIBDIR) |
27 |
|
|
28 |
|
clean: |
29 |
|
set nonomatch; rm -f $(PROGS) *.o core |
45 |
|
|
46 |
|
arch2rad.o trans.o: trans.h |
47 |
|
|
48 |
< |
ies2rad.o spec_rgb.o: ../common/color.h |
48 |
> |
ies2rad.o lampcolor.o: ../common/color.h |