fix compilation flag.

This commit is contained in:
U-WIN-ENP104VVO3U\Vítor Santos Costa 2011-06-06 12:29:28 +01:00
parent eb700c647d
commit d685b8891f

View File

@ -63,7 +63,7 @@ HEADERS = \
$(srcdir)/SPSolver.h \
$(srcdir)/Shared.h \
$(srcdir)/xmlParser/xmlParser.h
CPP_SOURCES = \
$(srcdir)/BayesNet.cpp \
$(srcdir)/BayesNode.cpp \
@ -84,23 +84,13 @@ OBJS = \
BPSolver.o \
BpNode.o \
SPSolver.o \
HorusYap.o
HCLI_OBJS = \
BayesNet.o \
BayesNode.o \
FactorGraph.o \
Factor.o \
BPSolver.o \
BpNode.o \
SPSolver.o \
HorusCli.o \
HorusYap.o \
xmlParser.o
SOBJS=horus.@SO@
all: $(SOBJS) hcli
all: $(SOBJS)
# default rule
%.o : $(srcdir)/%.cpp
@ -115,7 +105,7 @@ xmlParser.o : $(srcdir)/xmlParser/xmlParser.cpp
@DO_SECOND_LD@ @SHLIB_CXX_LD@ -o horus.@SO@ $(OBJS) @EXTRA_LIBS_FOR_SWIDLLS@
hcli: $(HCLI_OBJS)
hcli: $(OBJS)
$(CXX) -o hcli $(HCLI_OBJS)