| 8 |
|
MACH = -DBSD |
| 9 |
|
|
| 10 |
|
CFLAGS = -I../common -L../lib $(OPT) $(MACH) |
| 11 |
+ |
METACFLAGS = -I../meta |
| 12 |
|
|
| 13 |
|
CC = cc |
| 14 |
|
|
| 29 |
|
|
| 30 |
|
install: $(PROGS) $(LIBFILES) |
| 31 |
|
cp $(PROGS) $(INSTDIR) |
| 32 |
< |
cd $(LIBDIR) ; rm -f $(LIBFILES) |
| 32 |
> |
cd $(LIBDIR) && rm -f $(LIBFILES) |
| 33 |
|
cp $(LIBFILES) $(LIBDIR) |
| 34 |
|
|
| 35 |
|
clean: |
| 69 |
|
mgfilt: |
| 70 |
|
cd mgflib ; rm -f mgfilt ; \ |
| 71 |
|
make mgfilt CC=$(CC) \ |
| 72 |
< |
CFLAGS="$(OPT) $(MACH) -DNOPROTO" ; \ |
| 72 |
> |
CFLAGS="$(OPT) $(MACH)" ; \ |
| 73 |
|
mv mgfilt .. |
| 74 |
|
|
| 75 |
|
mgf2inv: |
| 76 |
|
cd mgflib ; rm -f mgf2inv ; \ |
| 77 |
|
make mgf2inv CC=$(CC) \ |
| 78 |
< |
CFLAGS="$(OPT) $(MACH) -DNOPROTO" ; \ |
| 78 |
> |
CFLAGS="$(OPT) $(MACH)" ; \ |
| 79 |
|
mv mgf2inv .. |
| 80 |
|
|
| 81 |
|
$(MGF_LIB): |
| 82 |
|
cd mgflib ; rm -f libmgf.a ; \ |
| 83 |
|
make libmgf.a CC=$(CC) \ |
| 84 |
< |
CFLAGS="$(OPT) $(MACH) -DNOPROTO" ; \ |
| 85 |
< |
cp libmgf.a ../../lib |
| 84 |
> |
CFLAGS="$(OPT) $(MACH)" ; \ |
| 85 |
> |
mv libmgf.a ../../lib |
| 86 |
|
|
| 87 |
|
mgf2rad.o: mgf2rad.c mgflib/parser.h ../common/tmesh.h ../common/color.h |
| 88 |
< |
$(CC) $(CFLAGS) -DNOPROTO -c mgf2rad.c |
| 88 |
> |
$(CC) $(CFLAGS) -c mgf2rad.c |
| 89 |
|
|
| 90 |
|
mgf2meta.o: mgf2meta.c mgflib/parser.h |
| 91 |
< |
$(CC) $(CFLAGS) -DNOPROTO -c mgf2meta.c |
| 91 |
> |
$(CC) $(CFLAGS) $(METACFLAGS) -c mgf2meta.c |
| 92 |
|
|
| 93 |
|
arch2rad.o trans.o: trans.h |
| 94 |
|
|
| 97 |
|
ies2rad.o: ../common/paths.h |
| 98 |
|
|
| 99 |
|
obj2rad.o tmesh2rad.o: ../common/tmesh.h \ |
| 100 |
< |
../common/standard.h ../common/mat4.h ../common/fvect.h |
| 100 |
> |
../common/standard.h ../common/rtmisc.h ../common/rtio.h \ |
| 101 |
> |
../common/rtmath.h ../common/rterror.h ../common/mat4.h ../common/fvect.h |
| 102 |
|
|
| 103 |
|
obj2rad.o: trans.h |
| 104 |
|
|