# This makefile was generated by gnu_gama_dep version 1.01
# for GNU Gama subproject 'gama-g3' for the gnu platform
#
# ------------------------------------------------------------------
#
#CC        = gcc
ifeq ($(findstring gcc,$(CC)),gcc)
CFLAGS    += -pipe
endif
CFLAGS    += 
#CXX       = g++
ifeq ($(findstring g++,$(CXX)),g++)
CXXFLAGS  += -pipe
endif
CXXFLAGS  += -I../../..
OBJ        = o
LIBR       = @ar -r libgama.a
RANLIB     = ranlib libgama.a
LINK       = $(CXX) #g++
LFLAGS    += -o
LIBS      += -lexpat
MAKE       = make
LIBGAMA    = libgama.a
P_GAMA_L   = gama-local
P_GAMA_G3  = gama-g3
#
# ------------------------------------------------------------------
#

SRC=../../../
OBJDIR=

$(P_GAMA_G3) : gama-g3.$(OBJ) ../lib/$(LIBGAMA)
	$(LINK) $(LFLAGS)$(P_GAMA_G3) gama-g3.$(OBJ) $(LIBS) ../lib/$(LIBGAMA)

gama-g3.$(OBJ) : ../../linux/gama-g3/gama-g3.cpp $(SRC)gamalib/exception.h $(SRC)gamalib/float.h $(SRC)gamalib/ls/baseols.h $(SRC)gamalib/ls/olsgso.h $(SRC)gamalib/ls/olssvd.h $(SRC)gamalib/matvec.h $(SRC)gnu_gama/adj/adj.h $(SRC)gnu_gama/e3.h $(SRC)gnu_gama/ellipsoid.h $(SRC)gnu_gama/ellipsoids.h $(SRC)gnu_gama/exception.h $(SRC)gnu_gama/g3/g3_cluster.h $(SRC)gnu_gama/g3/g3_model.h $(SRC)gnu_gama/g3/g3_observation.h $(SRC)gnu_gama/g3/g3_parameter.h $(SRC)gnu_gama/g3/g3_point.h $(SRC)gnu_gama/intfloat.h $(SRC)gnu_gama/list.h $(SRC)gnu_gama/matvec.h $(SRC)gnu_gama/model.h $(SRC)gnu_gama/obsdata.h $(SRC)gnu_gama/pointbase.h $(SRC)gnu_gama/sparse/intlist.h $(SRC)gnu_gama/sparse/sbdiagonal.h $(SRC)gnu_gama/sparse/smatrix.h $(SRC)gnu_gama/xml/baseparser.h $(SRC)gnu_gama/xml/dataobject.h $(SRC)gnu_gama/xml/dataparser.h $(SRC)gnu_gama/xml_expat.h
	$(CXX) $(CXXFLAGS) -I. -c ../../linux/gama-g3/gama-g3.cpp

