15 |
|
LIBDIR = /usr/local/lib/ray |
16 |
|
|
17 |
|
PROGS = genbox gensky xform genblinds genrev genworm \ |
18 |
< |
gensurf genprism replmarks mkillum |
18 |
> |
gensurf genprism replmarks mkillum genclock |
19 |
|
|
20 |
< |
CALFILES = illum.cal rev.cal skybright.cal surf.cal |
20 |
> |
LIBFILES = illum.cal rev.cal skybright.cal surf.cal clockface.hex |
21 |
|
|
22 |
|
all: $(PROGS) |
23 |
|
|
24 |
< |
install: $(PROGS) $(CALFILES) |
24 |
> |
install: $(PROGS) $(LIBFILES) |
25 |
|
cp $(PROGS) $(INSTDIR) |
26 |
< |
cd $(LIBDIR) ; rm -f $(CALFILES) |
27 |
< |
cp $(CALFILES) $(LIBDIR) |
26 |
> |
cd $(LIBDIR) ; rm -f $(LIBFILES) |
27 |
> |
cp $(LIBFILES) $(LIBDIR) |
28 |
|
|
29 |
|
clean: |
30 |
|
set nonomatch; rm -f $(PROGS) *.o core |
64 |
|
|
65 |
|
gensurf: gensurf.o |
66 |
|
$(CC) $(CFLAGS) -o gensurf gensurf.o -lrt $(MLIB) |
67 |
+ |
|
68 |
+ |
genclock: genclock.o |
69 |
+ |
$(CC) $(CFLAGS) -o genclock genclock.o $(MLIB) |
70 |
|
|
71 |
|
genbranch: genbranch.o |
72 |
|
$(CC) $(CFLAGS) -o genbranch genbranch.o $(MLIB) |