# Generated automatically from Makefile.in by configure.
#Open Babel test Makefile

CC            = gcc
CXX	      = c++

CFLAGS        = -g -O2
CXXFLAGS      = -g -O2
LIBS	      = -lm  -lopenbabel
LIBFLAGS      = 

LINKER	      = $(CXX)
LDFLAGS       = -L../src/

srcdir        = .
top_srcdir    = ..
top_builddir  = /home/hutchisn/src/openbabel-dist
builddir      = /home/hutchisn/src/openbabel-dist/test

HDRS	      = 

OBJS	      =	ringtest.o smartstest.o main.o

PROGRAM	      = obtest

DATAFILES     = attype.00.smi smartstest.txt smartsresults.txt ringresults.txt


$(PROGRAM):     $(OBJS) $(MAIN) 
		$(LINKER) $(LDFLAGS) $(OBJS) $(MAIN) -o  $(PROGRAM) $(LIBS)

all:;		

test:		check
check:		$(PROGRAM)
		(cd $(srcdir); cp $(DATAFILES) $(builddir))
		./$(PROGRAM)

clean:;		$(RM) $(OBJS) $(MAIN) $(PROGRAM) $(LIBRARY)
distclean:	clean

install:	$(PROGRAM)

print:;		$(PRINT) $(HDRS) $(SRCS)

# Update the Makefile if the Makefile.in or configure script changes
Makefile:	$(srcdir)/Makefile.in
		(cd ..; ./config.status)

.SUFFIXES:	.cpp
.cpp.o:
		$(CXX) -I$(top_srcdir)/src/ $(CXXFLAGS) -c $< -o $@
