$(LIBDIR)/libbase$(shared-lib-suffix): $(o-files)
@echo "=====base=============optimized==$(MT)== Linking library: $(@F)"
@$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o $(LIBDIR)/libbase$(shared-lib-suffix).$(DEAL_II_VERSION) -Wl,-soname,libbase$(shared-lib-suffix).$(DEAL_II_VERSION) $(o-files) $(extra-o-files) $(deplibs.o)
- @ln -s libbase$(shared-lib-suffix).$(DEAL_II_VERSION) $@
+ @ln -f -s libbase$(shared-lib-suffix).$(DEAL_II_VERSION) $@
$(LIBDIR)/libbase.g$(shared-lib-suffix): $(go-files)
@echo "=====base=============debug======$(MT)== Linking library: $(@F)"
@$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o $(LIBDIR)/libbase.g$(shared-lib-suffix).$(DEAL_II_VERSION) -Wl,-soname,libbase.g$(shared-lib-suffix).$(DEAL_II_VERSION) $(go-files) $(extra-o-files) $(deplibs.g)
- @ln -s libbase.g$(shared-lib-suffix).$(DEAL_II_VERSION) $@
+ @ln -f -s libbase.g$(shared-lib-suffix).$(DEAL_II_VERSION) $@
$(LIBDIR)/libdeal_II_1d.g$(shared-lib-suffix): $(go-files-1d)
@echo "=====deal.II====1d====debug======$(MT)== Linking library: $(@F)"
@$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o $(LIBDIR)/libdeal_II_1d.g$(shared-lib-suffix).$(DEAL_II_VERSION) -Wl,-soname,libdeal_II_1d.g$(shared-lib-suffix).$(DEAL_II_VERSION) $(go-files-1d) $(deplibs.g)
- @ln -s libdeal_II_1d.g$(shared-lib-suffix).$(DEAL_II_VERSION) $@
+ @ln -f -s libdeal_II_1d.g$(shared-lib-suffix).$(DEAL_II_VERSION) $@
$(LIBDIR)/libdeal_II_1d$(shared-lib-suffix): $(o-files-1d)
@echo "=====deal.II====1d====optimized==$(MT)== Linking library: $(@F)"
@$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o $(LIBDIR)/libdeal_II_1d$(shared-lib-suffix).$(DEAL_II_VERSION) -Wl,-soname,libdeal_II_1d$(shared-lib-suffix).$(DEAL_II_VERSION) $(o-files-1d) $(deplibs.o)
- @ln -s libdeal_II_1d$(shared-lib-suffix).$(DEAL_II_VERSION) $@
+ @ln -f -s libdeal_II_1d$(shared-lib-suffix).$(DEAL_II_VERSION) $@
$(LIBDIR)/libdeal_II_2d.g$(shared-lib-suffix): $(go-files-2d)
@echo "=====deal.II====2d====debug======$(MT)== Linking library: $(@F)"
@$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o $(LIBDIR)/libdeal_II_2d.g$(shared-lib-suffix).$(DEAL_II_VERSION) -Wl,-soname,libdeal_II_2d.g$(shared-lib-suffix).$(DEAL_II_VERSION) $(go-files-2d) $(deplibs.g)
- @ln -s libdeal_II_2d.g$(shared-lib-suffix).$(DEAL_II_VERSION) $@
+ @ln -f -s libdeal_II_2d.g$(shared-lib-suffix).$(DEAL_II_VERSION) $@
$(LIBDIR)/libdeal_II_2d$(shared-lib-suffix): $(o-files-2d)
@echo "=====deal.II====2d====optimized==$(MT)== Linking library: $(@F)"
@$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o $(LIBDIR)/libdeal_II_2d$(shared-lib-suffix).$(DEAL_II_VERSION) -Wl,-soname,libdeal_II_2d$(shared-lib-suffix).$(DEAL_II_VERSION) $(o-files-2d) $(deplibs.o)
- @ln -s libdeal_II_2d$(shared-lib-suffix).$(DEAL_II_VERSION) $@
+ @ln -f -s libdeal_II_2d$(shared-lib-suffix).$(DEAL_II_VERSION) $@
$(LIBDIR)/libdeal_II_3d.g$(shared-lib-suffix): $(go-files-3d)
@echo "=====deal.II====3d====debug======$(MT)== Linking library: $(@F)"
@$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o $(LIBDIR)/libdeal_II_3d.g$(shared-lib-suffix).$(DEAL_II_VERSION) -Wl,-soname,libdeal_II_3d.g$(shared-lib-suffix).$(DEAL_II_VERSION) $(go-files-3d) $(deplibs.g)
- @ln -s libdeal_II_3d.g$(shared-lib-suffix).$(DEAL_II_VERSION) $@
+ @ln -f -s libdeal_II_3d.g$(shared-lib-suffix).$(DEAL_II_VERSION) $@
$(LIBDIR)/libdeal_II_3d$(shared-lib-suffix): $(o-files-3d)
@echo "=====deal.II====3d====optimized==$(MT)== Linking library: $(@F)"
@$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o $(LIBDIR)/libdeal_II_3d$(shared-lib-suffix).$(DEAL_II_VERSION) -Wl,-soname,libdeal_II_3d$(shared-lib-suffix).$(DEAL_II_VERSION) $(o-files-3d) $(deplibs.o)
- @ln -s libdeal_II_3d$(shared-lib-suffix).$(DEAL_II_VERSION) $@
+ @ln -f -s libdeal_II_3d$(shared-lib-suffix).$(DEAL_II_VERSION) $@
$(LIBDIR)/liblac$(shared-lib-suffix): $(o-files)
@echo "=====lac==============optimized==$(MT)== Linking library: $(@F)"
@$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o $(LIBDIR)/liblac$(shared-lib-suffix).$(DEAL_II_VERSION) $(o-files) -Wl,-soname,liblac$(shared-lib-suffix).$(DEAL_II_VERSION) $(deplibs.o)
- @ln -s liblac$(shared-lib-suffix).$(DEAL_II_VERSION) $@
+ @ln -f -s liblac$(shared-lib-suffix).$(DEAL_II_VERSION) $@
$(LIBDIR)/liblac.g$(shared-lib-suffix): $(go-files)
@echo "=====lac==============debug======$(MT)== Linking library: $(@F)"
@$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o $(LIBDIR)/liblac.g$(shared-lib-suffix).$(DEAL_II_VERSION) -Wl,-soname,liblac.g$(shared-lib-suffix).$(DEAL_II_VERSION) $(go-files) $(deplibs.g)
- @ln -s liblac.g$(shared-lib-suffix).$(DEAL_II_VERSION) $@
+ @ln -f -s liblac.g$(shared-lib-suffix).$(DEAL_II_VERSION) $@
clean:
@echo "======================debug============= Linking library: libpetscall.g$(shared-lib-suffix)"
@$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o libpetscall.g$(shared-lib-suffix).$(DEAL_II_VERSION) \
-Wl,-soname,libpetscall.g$(shared-lib-suffix).$(DEAL_II_VERSION) $(xlib.g)
- @ln -s libpetscall.g$(shared-lib-suffix).$(DEAL_II_VERSION) $@
+ @ln -f -s libpetscall.g$(shared-lib-suffix).$(DEAL_II_VERSION) $@
libpetscall$(shared-lib-suffix): $(xlib.o)
@echo "======================optimized========= Linking library: libpetscall$(shared-lib-suffix)"
@$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o libpetscall$(shared-lib-suffix).$(DEAL_II_VERSION) \
-Wl,-soname,libpetscall$(shared-lib-suffix).$(DEAL_II_VERSION) $(xlib.o)
- @ln -s libpetscall$(shared-lib-suffix).$(DEAL_II_VERSION) $@
+ @ln -f -s libpetscall$(shared-lib-suffix).$(DEAL_II_VERSION) $@
else