Browse Source

Kind of undoing the previous commit.

gcc can only link, if -lobj is the first cudd lib to be linked...
Now, all the object files can be removed from libobj.a
tempestpy_adaptions
gereon 12 years ago
parent
commit
490f037259
  1. 2
      CMakeLists.txt
  2. 2
      resources/3rdparty/cudd-2.5.0/obj/Makefile

2
CMakeLists.txt

@ -224,7 +224,7 @@ if (LOG4CPLUS_INCLUDE_DIR)
endif(LOG4CPLUS_INCLUDE_DIR) endif(LOG4CPLUS_INCLUDE_DIR)
if (CUDD_LIBRARY_DIRS) if (CUDD_LIBRARY_DIRS)
target_link_libraries(storm "-lcudd -lmtr -lst -lutil -lepd -lobj")
target_link_libraries(storm "-lobj -lcudd -lmtr -lst -lutil -lepd")
endif(CUDD_LIBRARY_DIRS) endif(CUDD_LIBRARY_DIRS)
if (THREADS_FOUND) if (THREADS_FOUND)

2
resources/3rdparty/cudd-2.5.0/obj/Makefile

@ -62,7 +62,7 @@ UBJ = $(SRC:.cc=.u)
#------------------------------------------------------ #------------------------------------------------------
lib$(P).a: $(POBJ) lib$(P).a: $(POBJ)
ar rv $@ $? ../cudd/*.o ../dddmp/*.o ../epd/*.o ../mtr/*.o ../st/*.o ../util/*.o
ar rv $@ $?
$(RANLIB) $@ $(RANLIB) $@
.cc.o: $(PHDR) .cc.o: $(PHDR)

Loading…
Cancel
Save