1 |
< |
# SCCSid "$SunId$ LBL" |
2 |
< |
|
1 |
> |
# RCSid: $Id$ |
2 |
|
# |
3 |
|
# Makefile for object generation programs |
4 |
|
# |
5 |
|
|
6 |
|
OPT = -O |
7 |
|
MACH = -DBSD |
8 |
< |
CFLAGS = $(MACH) $(OPT) -I../common -L../lib |
8 |
> |
CFLAGS = -I../common -L../lib $(OPT) $(MACH) |
9 |
|
CC = cc |
10 |
|
MLIB = -lm |
11 |
|
|
16 |
|
PROGS = genbox gensky xform genblinds genrev genworm \ |
17 |
|
gensurf genprism replmarks mkillum genclock |
18 |
|
|
19 |
< |
LIBFILES = illum.cal rev.cal skybright.cal surf.cal clockface.hex |
19 |
> |
LIBFILES = illum.cal rev.cal skybright.cal surf.cal clockface.hex \ |
20 |
> |
glaze1.cal glaze2.cal |
21 |
|
|
22 |
|
all: $(PROGS) |
23 |
|
|
24 |
< |
install: $(PROGS) $(LIBFILES) |
24 |
> |
install: $(PROGS) $(LIBFILES) glaze.csh |
25 |
|
cp $(PROGS) $(INSTDIR) |
26 |
+ |
cp glaze.csh $(INSTDIR)/glaze |
27 |
+ |
chmod 755 $(INSTDIR)/glaze |
28 |
|
cd $(LIBDIR) ; rm -f $(LIBFILES) |
29 |
|
cp $(LIBFILES) $(LIBDIR) |
30 |
|
|
60 |
|
|
61 |
|
genrev: genrev.o |
62 |
|
$(CC) $(CFLAGS) -o genrev genrev.o -lrt $(MLIB) |
63 |
+ |
|
64 |
+ |
gencat: gencat.o |
65 |
+ |
$(CC) $(CFLAGS) -o gencat gencat.o -lrt $(MLIB) |
66 |
|
|
67 |
|
genworm: genworm.o |
68 |
|
$(CC) $(CFLAGS) -o genworm genworm.o -lrt $(MLIB) |