# Generated automatically from Makefile.in by configure.
##################################################
#
#   Makefile for GEM
#   	    Graphics Environment for Multimedia
#
#   mdanks@cybermed.ucsd.edu
#
#   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.
#
##################################################


#
# Configuration for all Platforms
#################################

VPATH = $(OBJ_DIR)
#
# Configuration for Linux
#
#


# Object directory
OBJ_DIR = ../Objects

# The name of the target
TARGET = ../../Gem.pd_linux

#compilation flags
COMP_FLAGS        = -D_UNIX_  -D_LANGUAGE_C_PLUS_PLUS

#warnings
WARN_FLAGS      = -Wall -fenum-int-equiv -Wno-unused

#libraries
LIB = -lMesaGLU -lMesaGL -lm -L../td -ltd -ltiff -lX11 -lXext -ldl -lstdc++

#linker flags
LD_FLAGS = -L/usr/X11R6/lib -shared

MAKE_TARG = all

OBJECTS = ${OBJ}

# linux

$(OBJ_DIR)/%.o %.o : %.cpp
	$(CXX) ${CC_FLAGS} -c $*.cpp -o ${OBJ_DIR}/$@


# the object files
all: GemPixImageLoad.o GemPixUtil.o
all: CPPExtern.o GemBase.o GemShape.o GemGluObj.o GemPixObj.o GemPixDualObj.o 
all: GemCache.o GemDag.o GemState.o
all: GemWinCreateXWin.o GemMan.o GemSetup.o

sgi: all
