<commit_before>###############################################################################
#									      #
#   File name	    src2objs.mak					      #
#									      #
#   Description	    Convert the SOURCES list to an OBJECTS list		      #
#									      #
#   Notes	    For use with SysToolsLib's dos.mak, win32.mak, etc...     #
#									      #
#   History								      #
#    2017-03-01 JFL Created this make file.       			      #
#		    							      #
#          Copyright 2017 Hewlett Packard Enterprise Development LP          #
# Licensed under the Apache 2.0 license - www.apache.org/licenses/LICENSE-2.0 #
###############################################################################

# Create the output directory if needed
!IF !EXIST($(O))
!  IF [$(MSG) Creating directory $(O) && md $(O)] != 0
!    ERROR Failed to create the $(O) directory
!  ENDIF
!ENDIF

# Invoke src2objs.bat for doing the conversion
SRC2OBJ_CMD="$(STINCLUDE)\src2objs.bat" -o $(O) $(SOURCES) >$(O)\$(PROGRAM).mak
!MESSAGE $(SRC2OBJ_CMD)
!IF [$(SRC2OBJ_CMD)] == 0
!  MESSAGE Getting generated object list from $(O)\$(PROGRAM).mak.
!  INCLUDE $(O)\$(PROGRAM).mak
!ELSE
!  ERROR Failed to generate the OBJECTS file list
!ENDIF<commit_msg>Changed the output file name to $(PROGRAM).objects. Fixes the bug which causes libraries to be rebuilt even if no source changed.<commit_after>###############################################################################
#									      #
#   File name	    src2objs.mak					      #
#									      #
#   Description	    Convert the SOURCES list to an OBJECTS list		      #
#									      #
#   Notes	    For use with SysToolsLib's dos.mak, win32.mak, etc...     #
#									      #
#   History								      #
#    2017-03-01 JFL Created this make file.       			      #
#    2017-11-12 JFL Changed the output file name to $(PROGRAM).objects.       #
#		    							      #
#          Copyright 2017 Hewlett Packard Enterprise Development LP          #
# Licensed under the Apache 2.0 license - www.apache.org/licenses/LICENSE-2.0 #
###############################################################################

# Create the output directory if needed
!IF !EXIST($(O))
!  IF [$(MSG) Creating directory $(O) && md $(O)] != 0
!    ERROR Failed to create the $(O) directory
!  ENDIF
!ENDIF

# Invoke src2objs.bat for doing the conversion
# Do not name the output file $(PROGRAM).mak, as this triggers unwanted .mak.inc rules.
SRC2OBJ_CMD="$(STINCLUDE)\src2objs.bat" -o $(O) $(SOURCES) >$(O)\$(PROGRAM).objects
!MESSAGE $(SRC2OBJ_CMD)
!IF [$(SRC2OBJ_CMD)] == 0
!  MESSAGE Getting generated object list from $(O)\$(PROGRAM).objects.
!  INCLUDE $(O)\$(PROGRAM).objects
!ELSE
!  ERROR Failed to generate the OBJECTS file list
!ENDIF
{'fraction_non_alphanumeric': 0.22246376811594204, 'fraction_numerical': 0.021739130434782608, 'mean_word_length': 2.701072386058981, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6473395', 'n_tokens_mistral': 1004, 'n_tokens_neox': 799, 'n_words': 245}