##/*********************************************************/
##/*                                                       */
##/*     Copyright (c) 1993 by the Research Foundation     */
##/*         of the State University of New York           */
##/*                                                       */
##/*********************************************************/


##
##			File: Makefile
##		      Author: Rick Avila
##			Date: 7/22/93
##		 Description: Animate Utility Makefile For
##			      Use On An SGI With Motif & GL
##	Modification History:
##
##		Who?            When?           Why?
##	--------------------------------------------------------------------
##


SRC_DIR		=	./src
OBJ_DIR		=	./obj
BIN_DIR		=	./bin
INC_DIR		=	${VOLVIS_HOME}/include

CFLAGS		=	-O2 -cckr -DC_SGI -DC_MOTIF -DC_GL -I$(INC_DIR)
LIBS		=	-lgl_s -lm -lsun -lPW

OBJS		=	$(OBJ_DIR)/animate.o		\
			$(OBJ_DIR)/C_image_io.o		\
			$(OBJ_DIR)/C_time.o		\
			$(OBJ_DIR)/C_compression.o

animate : $(OBJS) $(INCS)
	$(CC) $(CFLAGS) $(OBJS) -o $(BIN_DIR)/animate $(LIBS)

$(OBJ_DIR)/animate.o : $(SRC_DIR)/animate.c 
	$(CC) $(CFLAGS) -c $(SRC_DIR)/animate.c -o $(OBJ_DIR)/animate.o

$(OBJ_DIR)/C_image_io.o :  $(SRC_DIR)/C_image_io.c
	$(CC) $(CFLAGS) -c $(SRC_DIR)/C_image_io.c -o $(OBJ_DIR)/C_image_io.o

$(OBJ_DIR)/C_compression.o :  $(SRC_DIR)/C_compression.c
	$(CC) $(CFLAGS) -c $(SRC_DIR)/C_compression.c -o $(OBJ_DIR)/C_compression.o

$(OBJ_DIR)/C_time.o :  $(SRC_DIR)/C_time.c
	$(CC) $(CFLAGS) -c $(SRC_DIR)/C_time.c -o $(OBJ_DIR)/C_time.o
