From d685b8891f8e6f9548bc63610483eb95ea863a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U-WIN-ENP104VVO3U=5CV=C3=ADtor=20Santos=20Costa?= Date: Mon, 6 Jun 2011 12:29:28 +0100 Subject: [PATCH] fix compilation flag. --- packages/CLPBN/clpbn/bp/Makefile.in | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/packages/CLPBN/clpbn/bp/Makefile.in b/packages/CLPBN/clpbn/bp/Makefile.in index 10f192755..8b325b258 100755 --- a/packages/CLPBN/clpbn/bp/Makefile.in +++ b/packages/CLPBN/clpbn/bp/Makefile.in @@ -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)