Skip to content

Commit

Permalink
Run C preprocessor on Mortran apps to parse #ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
ftessier committed Apr 12, 2021
1 parent b08afa9 commit 0225835
Show file tree
Hide file tree
Showing 14 changed files with 69 additions and 3 deletions.
2 changes: 1 addition & 1 deletion HEN_HOUSE/user_codes/cavrznrc/cavrznrc.make
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ EGS_EXTRA_LIBS = $(FLIBS) $(BEAMLIB_EXTRA_LIBS)
RANDOM = $(EGS_SOURCEDIR)ranmar

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must me .F so that the C-preprocessor is
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F
Expand Down
2 changes: 1 addition & 1 deletion HEN_HOUSE/user_codes/cavsphnrc/cavsphnrc.make
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ EGS_EXTRA_LIBS = $(FLIBS)
RANDOM = $(EGS_SOURCEDIR)ranmar

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must me .F so that the C-preprocessor is
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F
Expand Down
2 changes: 1 addition & 1 deletion HEN_HOUSE/user_codes/edknrc/edknrc.make
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ EGS_EXTRA_LIBS = $(FLIBS)
RANDOM = $(EGS_SOURCEDIR)ranmar

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must me .F so that the C-preprocessor is
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F
Expand Down
6 changes: 6 additions & 0 deletions HEN_HOUSE/user_codes/examin/examin.make
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
#
EGS_EXTRA_OBJECTS =

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F

# The mortran sources
# Note: order is important!
# Note: don't forget the leading tabs on continuation lines!
Expand Down
6 changes: 6 additions & 0 deletions HEN_HOUSE/user_codes/g/g.make
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@
#
EGS_EXTRA_OBJECTS =

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F

# We prefer using the ranmar generator => we overwrite the
# default from $HEN_HOUSE/specs/all_common.spec
#
Expand Down
6 changes: 6 additions & 0 deletions HEN_HOUSE/user_codes/ranlux_test/ranlux_test.make
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ RANDOM = $(EGS_SOURCEDIR)ranlux
#
EGS_EXTRA_OBJECTS =

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F

# The mortran sources
# Note: order is important!
# Note: don't forget the leading tabs on continuation lines!
Expand Down
6 changes: 6 additions & 0 deletions HEN_HOUSE/user_codes/ranmar_test/ranmar_test.make
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ RANDOM = $(EGS_SOURCEDIR)ranmar
#
EGS_EXTRA_OBJECTS =

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F

# The mortran sources
# Note: order is important!
# Note: don't forget the leading tabs on continuation lines!
Expand Down
6 changes: 6 additions & 0 deletions HEN_HOUSE/user_codes/tutor1/tutor1.make
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,9 @@
# being used).
#
EGS_EXTRA_OBJECTS =

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F
6 changes: 6 additions & 0 deletions HEN_HOUSE/user_codes/tutor2/tutor2.make
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,9 @@
# being used).
#
EGS_EXTRA_OBJECTS =

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F
6 changes: 6 additions & 0 deletions HEN_HOUSE/user_codes/tutor3/tutor3.make
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,9 @@
# being used).
#
EGS_EXTRA_OBJECTS =

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F
6 changes: 6 additions & 0 deletions HEN_HOUSE/user_codes/tutor4/tutor4.make
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,9 @@
# being used).
#
EGS_EXTRA_OBJECTS =

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F
6 changes: 6 additions & 0 deletions HEN_HOUSE/user_codes/tutor5/tutor5.make
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,9 @@
# being used).
#
EGS_EXTRA_OBJECTS =

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F
6 changes: 6 additions & 0 deletions HEN_HOUSE/user_codes/tutor6/tutor6.make
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,9 @@
# being used).
#
EGS_EXTRA_OBJECTS =

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F
6 changes: 6 additions & 0 deletions HEN_HOUSE/user_codes/tutor7/tutor7.make
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@
#
EGS_EXTRA_OBJECTS =

# We use #ifdef ... #endif for parallel processing implementation
# => Fortran file extension must be .F so that the C-preprocessor is
# automatically invoked.
#
FEXT = F

# We prefer using the ranmar generator => we overwrite the
# default from $HEN_HOUSE/specs/all_common.spec
#
Expand Down

0 comments on commit 0225835

Please sign in to comment.