Skip to content

Commit

Permalink
rename lbfgsb_entry -> lbfgsb__entry (compile order)
Browse files Browse the repository at this point in the history
  • Loading branch information
idavydov committed Sep 12, 2021
1 parent f56719b commit 4e5dd94
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lbfgsb_entry.f90 → lbfgsb__entry.f90
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
! (There is no way to enforce this interface with the old code without
! integrating it into the old code. This could be done relatively
! easily but I have chosen to leave the original as is for now.)
module lbfgsb_entry
module lbfgsb
implicit none
private

Expand Down Expand Up @@ -48,4 +48,4 @@ subroutine setulb(n, m, x, l, u, nbd, f, g, factr, pgtol, &
end subroutine setulb
end interface

end module lbfgsb_entry
end module lbfgsb
2 changes: 1 addition & 1 deletion lbfgsb_c.f90
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
! used by other code and not just Go.
module lbfgsb_c
use, intrinsic :: iso_c_binding
use lbfgsb_entry
use lbfgsb
implicit none
private

Expand Down
6 changes: 3 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ lbfgsb/lbfgsb.o: lbfgsb/blas.o lbfgsb/linpack.o lbfgsb/timer.o
# The Linpack parts do not appear to depend on each other

# Go-Fortran L-BFGS-B interface
lbfgsb_entry.o: lbfgsb/lbfgsb.o
lbfgsb_c.o: lbfgsb_entry.o
lbfgsb__entry.o: lbfgsb/lbfgsb.o
lbfgsb_c.o: lbfgsb__entry.o

# Libraries and executables

# Object files needed for the libraries
libObjs := lbfgsb_c.o lbfgsb_entry.o lbfgsb/lbfgsb.o lbfgsb/blas.o lbfgsb/linpack.o lbfgsb/timer.o
libObjs := lbfgsb_c.o lbfgsb__entry.o lbfgsb/lbfgsb.o lbfgsb/blas.o lbfgsb/linpack.o lbfgsb/timer.o

# Library
liblbfgsb.a: $(libObjs)
Expand Down

0 comments on commit 4e5dd94

Please sign in to comment.