Skip to content

Commit

Permalink
More debug flags
Browse files Browse the repository at this point in the history
  • Loading branch information
krystophny committed Nov 23, 2024
1 parent 2204311 commit 06760b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/issue41_abstract_classes/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ test_abstract_classes.x: main.f90 myclass_base.o myclass_impl.o myclass_factory.

wrapper: myclass_base.o myclass_impl.o myclass_factory.o
f90wrap -m itest -P myclass_impl.f90 myclass_factory.f90 -v
f2py-f90wrap --build-dir . -c -m _itest \
f2py-f90wrap --build-dir . -c -m _itest --opt="-O0 -g" \
f90wrap_myclass_impl.f90 f90wrap_myclass_factory.f90 \
myclass_base.o myclass_impl.o myclass_factory.o

%.o : %.f90
$(FC) $(FCFLAGS) -c $< -o $@
$(FC) $(FCFLAGS) -c -g -O0 $< -o $@

clean:
rm -f *.o f90wrap*.f90 *.so *.mod *.x
Expand Down
2 changes: 1 addition & 1 deletion examples/issue41_abstract_classes/myclass_impl.f90
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ end subroutine get_value_impl
subroutine myclass_impl_finalise(self)
type(myclass_impl_t), intent(inout) :: self

print *, "Finalizing myclass_impl_t"
print *, "Finalising myclass_impl_t"
end subroutine myclass_impl_finalise

end module myclass_impl

0 comments on commit 06760b8

Please sign in to comment.