add the long integer version of the object to prevent the conflict with SuiteSparse

release/4.3a0
Kai Ni 2010-06-04 20:27:37 +00:00
parent ebfd979cc4
commit 1bdd32e4ae
1 changed files with 4 additions and 4 deletions

View File

@ -11,17 +11,17 @@ CXXFLAGS += -fPIC
sources = $(shell ls *.c) sources = $(shell ls *.c)
objects = $(sources:.c=.o)
library = libcolamd.a library = libcolamd.a
#Note: hack was added to ensure that flags are acutally used for compilation #Note: hack was added to ensure that flags are acutally used for compilation
# This should probably be fixed, but will work for 64 bit machines now # This should probably be fixed, but will work for 64 bit machines now
$(library): $(objects) $(library):
$(CXX) $(CXXFLAGS) -c -o colamd.o colamd.c $(CXX) $(CXXFLAGS) -c -o colamd.o colamd.c
$(CXX) $(CXXFLAGS) -c -DDLONG -o colamd_l.o colamd.c
$(CXX) $(CXXFLAGS) -c -o colamd_global.o colamd_global.c $(CXX) $(CXXFLAGS) -c -o colamd_global.o colamd_global.c
ar crsv $@ $(objects) ar crsv $@ colamd.o colamd_l.o colamd_global.o
ranlib $(library) ranlib $(library)
clean: clean: