$(LIBDIR)/libbase.so: $(forward-declarations) $(o-files)
@echo =====base=============optimized==$(MT)== Linking library: $(@F)
- @$(CC) $(CXXFLAGS.o) -shared -o $@ $(o-files)
+ @$(CC) $(LDFLAGS) -shared -o $@ $(o-files)
$(LIBDIR)/libbase.g.so: $(forward-declarations) $(go-files)
@echo =====base=============debug======$(MT)== Linking library: $(@F)
- @$(CC) $(CXXFLAGS.g) -shared -o $@ $(go-files)
+ @$(CC) $(LDFLAGS) -shared -o $@ $(go-files)
$(LIBDIR)/libdeal_II_1d.g.so: $(go-files-1d)
@echo =====deal.II====1d====debug======$(MT)== Linking library: $(@F)
- @$(CC) $(CXXFLAGS.o) -shared -o $@ $(go-files-1d)
+ @$(CC) $(LDFLAGS) -shared -o $@ $(go-files-1d)
$(LIBDIR)/libdeal_II_1d.so: $(o-files-1d)
@echo =====deal.II====1d====optimized==$(MT)== Linking library: $(@F)
- @$(CC) $(CXXFLAGS.o) -shared -o $@ $(o-files-1d)
+ @$(CC) $(LDFLAGS) -shared -o $@ $(o-files-1d)
$(LIBDIR)/libdeal_II_2d.g.so: $(go-files-2d)
@echo =====deal.II====2d====debug======$(MT)== Linking library: $(@F)
- @$(CC) $(CXXFLAGS.o) -shared -o $@ $(go-files-2d)
+ @$(CC) $(LDFLAGS) -shared -o $@ $(go-files-2d)
$(LIBDIR)/libdeal_II_2d.so: $(o-files-2d)
@echo =====deal.II====2d====optimized==$(MT)== Linking library: $(@F)
- @$(CC) $(CXXFLAGS.o) -shared -o $@ $(o-files-2d)
+ @$(CC) $(LDFLAGS) -shared -o $@ $(o-files-2d)
$(LIBDIR)/libdeal_II_3d.g.so: $(go-files-3d)
@echo =====deal.II====3d====debug======$(MT)== Linking library: $(@F)
- @$(CC) $(CXXFLAGS.o) -shared -o $@ $(go-files-3d)
+ @$(CC) $(LDFLAGS) -shared -o $@ $(go-files-3d)
$(LIBDIR)/libdeal_II_3d.so: $(o-files-3d)
@echo =====deal.II====3d====optimized==$(MT)== Linking library: $(@F)
- @$(CC) $(CXXFLAGS.o) -shared -o $@ $(o-files-3d)
+ @$(CC) $(LDFLAGS) -shared -o $@ $(o-files-3d)
<ol>
<li> <p>
- Change: If in multithreaded mode, the ACE library is now
+ Changed: The libraries are no more linked using the C++
+ compilation flags, but rather using LDFLAGS. Some compilers
+ object to compilation flags on the linker line.
+ <br>
+ (WB 2001/05/23)
+ </p>
+
+ <li> <p>
+ Changed: If in multithreaded mode, the ACE library is now
automatically added to the <code>$(LIBS)</code> Makefile
variable. There is no need anymore for a special clause in your
Makefile.
<br>
- (WB 2001/05/22)
+ (WB 2001/05/23)
</p>
<li> <p>
$(LIBDIR)/liblac.so: $(forward-declarations) $(o-files)
@echo =====lac==============optimized==$(MT)== Linking library: $(@F)
- @$(CC) $(CXXFLAGS.o) -shared -o $@ $(o-files)
+ @$(CC) $(LDFLAGS) -shared -o $@ $(o-files)
$(LIBDIR)/liblac.g.so: $(forward-declarations) $(go-files)
@echo =====lac==============debug======$(MT)== Linking library: $(@F)
- @$(CC) $(CXXFLAGS.g) -shared -o $@ $(go-files)
+ @$(CC) $(LDFLAGS) -shared -o $@ $(go-files)