Skip to content

Commit

Permalink
remove some old Fortran stuff from the build system
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Jan 14, 2025
1 parent 369afb6 commit 2e15f64
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions Make.Microphysics
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,6 @@ build_status:
--git_names "Microphysics AMReX" \
--git_dirs "$(TOP) $(AMREX_HOME)"

starkiller_library: $(executable)
ifeq ($(USE_COMPILE_WITH_F2PY), TRUE)
@echo Wrapping sources with f90wrap ...
sh dowrap.sh
@echo Linking objects with f2py ...
sh dof2py.sh
endif

# Use a coarse grained OMP approach
DEFINES += -DCRSEGRNDOMP

Expand Down Expand Up @@ -213,20 +205,9 @@ $(objEXETempDir)/AMReX_buildInfo.o: .FORCE
include $(AMREX_HOME)/Tools/GNUMake/Make.rules

clean::
$(SILENT) $(RM) extern.F90
$(SILENT) $(RM) network_properties.F90 network_properties.H
$(SILENT) $(RM) $(MICROPHYSICS_AUTO_SOURCE_DIR)/*.H $(MICROPHYSICS_AUTO_SOURCE_DIR)/*.[fF]90
$(SILENT) $(RM) extern_parameters.cpp extern_parameters_F.H extern_parameters.H

# Older versions of CASTRO generated a "network.f90" file when using
# the general_null network, which conflicts with our generalized
# network.f90 file. So we should delete the local copy if we are
# trying to rebuild from an old directory.
# The same is true for "extern.f90".

clean::
$(RM) network.f90
$(RM) extern.f90
$(SILENT) $(RM) network_properties.H
$(SILENT) $(RM) $(MICROPHYSICS_AUTO_SOURCE_DIR)/*.H
$(SILENT) $(RM) extern_parameters.cpp extern_parameters.H


# for debugging. To see the value of a Makefile variable,
Expand Down

0 comments on commit 2e15f64

Please sign in to comment.