to warrant the additional "complexity" :)).
Miscellaneous improvements:
-* Now compiles also with MS Visual C++ and with GCC under cygwin.
+* Now compiles also with MS Visual C++ (thanks to Jiuxiang Hu) and with
+ GCC under cygwin.
* Contributions by Peter Gober:
- Renamed variable _N in mr.* for compatibility with g++ under cygwin.
* Misc contributions by Giuseppe Passino:
##########
example$(EE) : example.cpp $(HEADERS) $(LIB)/libdai$(LE)
- $(CC) $(CCFLAGS) $(CCO) example$(EE) example.cpp $(LIBS)
+ $(CC) $(CCFLAGS) $(CCO)example$(EE) example.cpp $(LIBS)
# TESTS
########
tests/testdai$(EE) : tests/testdai.cpp $(HEADERS) $(LIB)/libdai$(LE)
- $(CC) $(CCFLAGS) $(CCO) tests/testdai$(EE) tests/testdai.cpp $(LIBS) $(BOOSTLIBS)
+ $(CC) $(CCFLAGS) $(CCO)tests/testdai$(EE) tests/testdai.cpp $(LIBS) $(BOOSTLIBS)
# MATLAB INTERFACE
########
utils/createfg$(EE) : utils/createfg.cpp $(HEADERS) $(LIB)/libdai$(LE)
- $(CC) $(CCFLAGS) $(CCO) utils/createfg$(EE) utils/createfg.cpp $(LIBS) $(BOOSTLIBS)
+ $(CC) $(CCFLAGS) $(CCO)utils/createfg$(EE) utils/createfg.cpp $(LIBS) $(BOOSTLIBS)
utils/fg2dot$(EE) : utils/fg2dot.cpp $(HEADERS) $(LIB)/libdai$(LE)
- $(CC) $(CCFLAGS) $(CCO) utils/fg2dot$(EE) utils/fg2dot.cpp $(LIBS)
+ $(CC) $(CCFLAGS) $(CCO)utils/fg2dot$(EE) utils/fg2dot.cpp $(LIBS)
utils/fginfo$(EE) : utils/fginfo.cpp $(HEADERS) $(LIB)/libdai$(LE)
- $(CC) $(CCFLAGS) $(CCO) utils/fginfo$(EE) utils/fginfo.cpp $(LIBS)
+ $(CC) $(CCFLAGS) $(CCO)utils/fginfo$(EE) utils/fginfo.cpp $(LIBS)
\r
utils : utils/createfg$(EE) utils/fg2dot$(EE) utils/fginfo$(EE)\r
\r
-testregression : tests/testdai\r
+testregression : tests/testdai$(EE)\r
echo Testing...this can take a while...\r
cd tests; time ./testregression; cd ..\r
\r