<commit_before>include ../../makefile.conf

SYSOBJS = $(SRCDIR)/rtcmix/printsf.o $(SRCDIR)/rtcmix/check_byte_order.o \
	$(AUDIODIR)/sndlibsupport.o

ifeq ($(ARCH),LINUX)
   SYSLIBS = -lm   # only this, overriding makefile.conf
endif
ifeq ($(ARCH),FREEBSD)
   SYSLIBS = -lm   # only this, overriding makefile.conf
endif

INCLUDES += -I$(AUDIODIR) -I$(SRCDIR)/sndlib -I$(SRCDIR)/rtcmix

HEAD = sfcreate sfprint sfshrink sfhedit sffixsize

all: $(HEAD)

sfhedit: sfhedit.o $(SYSOBJS)
	$(CC) -o sfhedit sfhedit.o $(SYSOBJS) $(SNDLIB) $(SYSLIBS)

sfextend: sfextend.o $(SYSOBJS)
	$(CC) -o sfextend sfextend.o $(SYSOBJS) $(SNDLIB) $(SYSLIBS)

sfshrink: sfshrink.o $(SYSOBJS)
	$(CC) -o sfshrink sfshrink.o $(SYSOBJS) $(SNDLIB) $(SYSLIBS)

sfcreate: sfcreate.o $(SYSOBJS)
	$(CC) -o sfcreate sfcreate.o $(SYSOBJS) $(SNDLIB) $(SYSLIBS)

sfprint: sfprint.o  $(SYSOBJS)
	$(CC) -o sfprint sfprint.o $(SYSOBJS) $(SNDLIB) $(SYSLIBS)

sffixsize: sffixsize.o  $(SYSOBJS)<commit_msg>Don't link to dso's we don't use.<commit_after>include ../../makefile.conf

SYSOBJS = $(SRCDIR)/rtcmix/printsf.o $(SRCDIR)/rtcmix/check_byte_order.o \
	$(AUDIODIR)/sndlibsupport.o

SYSLIBS = -lm   # only this, overriding makefile.conf

INCLUDES += -I$(AUDIODIR) -I$(SRCDIR)/sndlib -I$(SRCDIR)/rtcmix

HEAD = sfcreate sfprint sfshrink sfhedit sffixsize

all: $(HEAD)

sfhedit: sfhedit.o $(SYSOBJS)
	$(CC) -o sfhedit sfhedit.o $(SYSOBJS) $(SNDLIB) $(SYSLIBS)

sfextend: sfextend.o $(SYSOBJS)
	$(CC) -o sfextend sfextend.o $(SYSOBJS) $(SNDLIB) $(SYSLIBS)

sfshrink: sfshrink.o $(SYSOBJS)
	$(CC) -o sfshrink sfshrink.o $(SYSOBJS) $(SNDLIB) $(SYSLIBS)

sfcreate: sfcreate.o $(SYSOBJS)
	$(CC) -o sfcreate sfcreate.o $(SYSOBJS) $(SNDLIB) $(SYSLIBS)

sfprint: sfprint.o  $(SYSOBJS)
	$(CC) -o sfprint sfprint.o $(SYSOBJS) $(SNDLIB) $(SYSLIBS)

sffixsize: sffixsize.o  $(SYSOBJS)
{'fraction_non_alphanumeric': 0.18047982551799346, 'fraction_numerical': 0.0, 'mean_word_length': 4.806962025316456, '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': '2315832', 'n_tokens_mistral': 850, 'n_tokens_neox': 820, 'n_words': 171}