##################################################
#
#   Makefile for GEM
#   	    Graphics Environment for Multimedia
#
#   mark@danks.org
#
#   Copyright (c) 1997 Mark Danks.
#   For information on usage and redistribution, and for a DISCLAIMER OF ALL
#   WARRANTIES, see the file, "GEM.LICENSE.TERMS," in this distribution.
#
##################################################

include Make.depend

# search path
OBJ_DIR     = ../Objects
VPATH		= ${OBJ_DIR}

# compiler
##########
# SGI
CC++ 		= CC -o32 -mips2
# linux
#CC++		= gcc

# suffix rules
##############
# SGI
.SUFFIXES : .o .cpp .h
.cpp.o:
	${CC++} ${CC_FLAGS} -c $*.cpp -o ${OBJ_DIR}/$@

# linux
# $(OBJ_DIR)/%.o %.o : %.cpp
#	${CC++} ${CC_FLAGS} -c $*.cpp -o ${OBJ_DIR}/$@

dependencies:
	echo "# DO NOT DELETE THIS LINE -- make depend depends on it." > Make.depend; \
	makedepend -fMake.depend -nostdinc -I. -I.. *.cpp
