<commit_before>############################### GEANT321 Makefile #############################

# Include machine specific definitions

include $(ALICE_ROOT)/conf/GeneralDef
include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)

PACKAGE = GEANT321

GDIRS := gbase gcons gdraw geocad ggeom gheisha ghits ghrout ghutils giface \
        giopa gkine gparal gphys gscan gstrag gtrak matx55 miface miguti \
        neutron peanut fiface cgpack fluka block comad erdecks erpremc

XDIRS = gxint cdf

# C++ sources

SRCS          =
##### MACROS #####

GFSRC	:= $(wildcard $(patsubst %,%/*.F,$(GDIRS))) gcinit.F
GFSRC	:= $(filter-out gtrak/grndm%.F,$(GFSRC))
GCSRC	:= $(wildcard $(patsubst %,%/*.c,$(GDIRS))) 
GCXXSRC	:= $(wildcard $(patsubst %,%/*.cxx,$(GDIRS))) 

GSRC	= $(GFSRC) $(GCSRC)
GFOBJ	= $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(GFSRC))
GCOBJ	= $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(GCSRC))
GCXXOBJ	= $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(GCXXSRC))
GOBJ	= $(GFOBJ) $(GCOBJ) $(GCXXOBJ)

XFSRC	= $(wildcard $(patsubst %,%/*.F,$(XDIRS))) 
XCSRC	= $(wildcard $(patsubst %,%/*.c,$(XDIRS))) 

XSRC	= $(XFSRC) $(XCSRC) $(XCXXSRC)
XFOBJ	= $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(XFSRC))
XCOBJ	= $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(XCSRC))
XOBJ	= $(XFOBJ) $(XCOBJ) $(XCXXOBJ)

SRCS	= $(GSRC) $(XSRC)
OBJS	= $(GOBJ) $(XOBJ)

# Global Macros

ALLSRCS       = $(SRCS) $(HDRS) $(FSRCS) $(CSRCS) $(DICT)
ALLOBJS       = $(OBJS) $(FOBJS) $(COBJS) $(DICTO)

# C++ compilation flags

CXXFLAGS      := $(CXXOPTS) $(CLIBCXXOPTS) $(CLIBDEFS) -I.
CXXFLAGS      := $(filter-out -O%,$(CXXFLAGS))  
 
# C compilation flags

CFLAGS      := $(COPT) $(CLIBCOPT) $(CLIBDEFS) -I.
 
# FORTRAN compilation flags

FFLAGS      := $(FOPT) $(CLIBFOPT) $(CLIBDEFS) -I.
ifeq ($(PLATFORM),linux)
#   FFLAGS      := $(filter-out -O%,$(FFLAGS))  
endif
 
##### TARGETS #####
 
# Target

SLIBRARY	= $(LIBDIR)/libgeant321.$(SL) $(LIBDIR)/libgxint321.$(SL)
ALIBRARY	= $(LIBDIR)/libgeant321.a $(LIBDIR)/libgxint321.a

ifeq ($(PLATFORM),alpha)
        default:	$(ALIBRARY)
else
        default:	$(SLIBRARY)
endif

$(LIBDIR)/libgeant321.$(SL) $(LIBDIR)/libgeant321.a:  $(GOBJ)
$(LIBDIR)/libgxint321.$(SL) $(LIBDIR)/libgxint321.$(SL):  $(XOBJ)
<commit_msg>Optimization allowed (it still causes problems with gcc 2.91.66)<commit_after>############################### GEANT321 Makefile #############################

# Include machine specific definitions

include $(ALICE_ROOT)/conf/GeneralDef
include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)

PACKAGE = GEANT321

GDIRS := gbase gcons gdraw geocad ggeom gheisha ghits ghrout ghutils giface \
        giopa gkine gparal gphys gscan gstrag gtrak matx55 miface miguti \
        neutron peanut fiface cgpack fluka block comad erdecks erpremc

XDIRS = gxint cdf

# C++ sources

SRCS          =
##### MACROS #####

GFSRC	:= $(wildcard $(patsubst %,%/*.F,$(GDIRS))) gcinit.F
GFSRC	:= $(filter-out gtrak/grndm%.F,$(GFSRC))
GCSRC	:= $(wildcard $(patsubst %,%/*.c,$(GDIRS))) 
GCXXSRC	:= $(wildcard $(patsubst %,%/*.cxx,$(GDIRS))) 

GSRC	= $(GFSRC) $(GCSRC)
GFOBJ	= $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(GFSRC))
GCOBJ	= $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(GCSRC))
GCXXOBJ	= $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(GCXXSRC))
GOBJ	= $(GFOBJ) $(GCOBJ) $(GCXXOBJ)

XFSRC	= $(wildcard $(patsubst %,%/*.F,$(XDIRS))) 
XCSRC	= $(wildcard $(patsubst %,%/*.c,$(XDIRS))) 

XSRC	= $(XFSRC) $(XCSRC) $(XCXXSRC)
XFOBJ	= $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(XFSRC))
XCOBJ	= $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(XCSRC))
XOBJ	= $(XFOBJ) $(XCOBJ) $(XCXXOBJ)

SRCS	= $(GSRC) $(XSRC)
OBJS	= $(GOBJ) $(XOBJ)

# Global Macros

ALLSRCS       = $(SRCS) $(HDRS) $(FSRCS) $(CSRCS) $(DICT)
ALLOBJS       = $(OBJS) $(FOBJS) $(COBJS) $(DICTO)

# C++ compilation flags

CXXFLAGS      := $(CXXOPTS) $(CLIBCXXOPTS) $(CLIBDEFS) -I.
# CXXFLAGS      := $(filter-out -O%,$(CXXFLAGS))  
 
# C compilation flags

CFLAGS      := $(COPT) $(CLIBCOPT) $(CLIBDEFS) -I.
 
# FORTRAN compilation flags

FFLAGS      := $(FOPT) $(CLIBFOPT) $(CLIBDEFS) -I.

# ifeq ($(PLATFORM),linux)
#    FFLAGS      := $(filter-out -O%,$(FFLAGS))  
# endif
 
##### TARGETS #####
 
# Target

SLIBRARY	= $(LIBDIR)/libgeant321.$(SL) $(LIBDIR)/libgxint321.$(SL)
ALIBRARY	= $(LIBDIR)/libgeant321.a $(LIBDIR)/libgxint321.a

ifeq ($(PLATFORM),alpha)
        default:	$(ALIBRARY)
else
        default:	$(SLIBRARY)
endif

$(LIBDIR)/libgeant321.$(SL) $(LIBDIR)/libgeant321.a:  $(GOBJ)
$(LIBDIR)/libgxint321.$(SL) $(LIBDIR)/libgxint321.$(SL):  $(XOBJ)

{'fraction_non_alphanumeric': 0.23708139277001553, 'fraction_numerical': 0.015302727877578177, 'mean_word_length': 4.473300970873787, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5584854', 'n_tokens_mistral': 2130, 'n_tokens_neox': 1981, 'n_words': 364}