# Generated automatically from Makefile.in by configure.
##################################################
#
#   Makefile for GEM
#   	    Graphics Environment for Multimedia
#
#   mdanks@cybermed.ucsd.edu
#
#   Copyright (c) 1997-1998 Mark Danks.
#   For information on usage and redistribution, and for a DISCLAIMER OF ALL
#   WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.
#
#	$Id: Makefile,v 1.3 1998/01/28 06:49:40 mdanks Exp $
#
##################################################


#
# 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: pix_image.o pix_multiimage.o pix_snap.o
all: pix_coloralpha.o pix_texture.o pix_draw.o pix_buf.o

all: pix_2grey.o pix_gain.o pix_zoom.o pix_convolve.o pix_colormatrix.o
all: pix_color.o pix_threshold.o pix_alpha.o pix_bitmask.o
all: pix_add.o pix_subtract.o pix_multiply.o pix_invert.o pix_flip.o

all: pix_composite.o pix_mask.o pix_clearblock.o
all: pix_coordinate.o pix_resize.o

sgi: all pix_videoSGI.o pix_indycam.o
