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


##
##			File: Makefile
##		      Author: Rick Avila
##			Date: 02/03/92
##		 Description: pic2slc 0.1 Makefile
##	Modification History:
##
##		Who?		When?		Why?
##	--------------------------------------------------------------------
##

##########################################################################
##									##
##				Directories				##
##									##
##########################################################################
SRC_DIR		=	./src
INC_DIR		=	../../include
OBJ_DIR		=	./obj
BIN_DIR		=	./bin

##########################################################################
##									##
##				   Flags				##
##									##
##########################################################################

INCS		=	-I$(INC_DIR) -DC_MOTIF


##########################################################################
##									##
##				 Objects				##
##									##
##########################################################################
OBJS		=	$(OBJ_DIR)/C_pic2slc.o \
			$(OBJ_DIR)/C_compression.o

##########################################################################
##									##
##			     pic2slc Compilation			##
##									##
##########################################################################
pic2slc: $(OBJS)
	$(CC) $(OBJS) -O -o $(BIN_DIR)/pic2slc

$(OBJ_DIR)/C_pic2slc.o : $(SRC_DIR)/C_pic2slc.c
	$(CC) $(INCS) -O -c $(SRC_DIR)/C_pic2slc.c -o $(OBJ_DIR)/C_pic2slc.o

$(OBJ_DIR)/C_compression.o : ../../src/C_SRC/C_compression.c
	$(CC) $(INCS) -O -c ../../src/C_SRC/C_compression.c -o $(OBJ_DIR)/C_compression.o
