## Process this file with automake to produce Makefile.in

#CXXFLAGS        = -g -pg -O2
CXXFLAGS         = -g -O2
#CXXFLAGS        = -O2
AM_CXXFLAGS      = @ALLIANCE_CFLAGS@
AM_CFLAGS        = @ALLIANCE_CFLAGS@


bin_PROGRAMS     = nero pdv
#noinst_PROGRAMS  = debug

nero_LDADD         = -L$(libdir) @ALLIANCE_LIBS@  \
                   $(top_builddir)/src/libU.a     \
                   -lMpu -lMlu  \
                   -lMcl -lMcp  \
                   -lMal -lMap  \
                   -lMsl        \
                   -lMel -lMgl  \
                   -lMhl        \
                   -lMvg        \
                   -lMmg        \
                   -lMlo        \
                   -lMph -lMut  \
                   -lRcn        \
                   -lAut

noinst_LIBRARIES = libU.a


libU_a_SOURCES   = UConst.cpp  \
                   USys.cpp    \
                   UOpts.cpp   \
                   UInter.cpp  \
                   UDefs.h     \
                   MMBK.cpp    \
                   MPower.cpp  \
                   MMBK.h      \
                   MDRGrid.cpp \
                   MNodes.cpp  \
                   MPri.cpp    \
                   MNet.cpp    \
                   MDefs.h     \
                   AAstar.cpp  \
                   ASimple.cpp \
                   ADefs.h     \
                   RBox.cpp    \
                   RMBK.cpp    \
                   RDefs.h

nero_SOURCES     = nero.cpp

pdv_LDADD        = @ALLIANCE_LIBS@  \
                   -lMpu -lMlu  \
                   -lMcl -lMcp  \
                   -lMal -lMap  \
                   -lMsl        \
                   -lMel -lMgl  \
                   -lMhl        \
                   -lMvg        \
                   -lMmg        \
                   -lMlo        \
                   -lMph -lMut  \
                   -lRcn        \
                   -lAut

pdv_SOURCES      = pdv.c

#debug_SOURCES    = debug.cpp
