home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chestnut's Multimedia Mania
/
MM_MANIA.ISO
/
graphics
/
povsrc20
/
sparc.fix
/
POV_FIX.ZIP
/
UNIX.MAK
< prev
Wrap
Makefile
|
1992-07-29
|
1KB
|
44 lines
# Makefile for Persistence of Vision Raytracer
#
# Minor mods for gcc on Sun SPARCstation
#
# This file is released to the public domain.
#
#
# MAKE Macros and Such...
#
#***************************************************************
#*
#* UNIX Makefile
#*
#***************************************************************
# The exact options may depend on your compiler. Feel free to modify
# these as required.
CC = gcc
OBJ = o
MACHINE_OBJ = unix.$(OBJ)
CFLAGS = -ansi -c -O -I/usr/lib/gcc-include -Dsparc
LFLAGS = -o ../bin/povray -O /usr/lib/libm.a
# Make's implicit rules for making a .o file from a .c file...
#
.c.o :
$(CC) $(CFLAGS) $*.c
POVOBJS = povray.$(OBJ) render.$(OBJ) tokenize.$(OBJ) parse.$(OBJ) \
objects.$(OBJ) spheres.$(OBJ) quadrics.$(OBJ) lighting.$(OBJ) \
prioq.$(OBJ) texture.$(OBJ) matrices.$(OBJ) csg.$(OBJ) hfield.$(OBJ)\
txtcolor.$(OBJ) txtbump.$(OBJ) txtmap.$(OBJ) txttest.$(OBJ) \
colour.$(OBJ) viewpnt.$(OBJ) ray.$(OBJ) planes.$(OBJ) iff.$(OBJ) \
gif.$(OBJ) gifdecod.$(OBJ) triangle.$(OBJ) raw.$(OBJ) dump.$(OBJ) \
targa.$(OBJ) poly.$(OBJ) bezier.$(OBJ) vect.$(OBJ) \
blob.$(OBJ) boxes.$(OBJ) point.$(OBJ) $(MACHINE_OBJ)
../bin/povray: $(POVOBJS)
$(CC) $(LFLAGS) $(POVOBJS) -lm