<commit_before># 
# Makefile for filter module
#

EXAMPLES = fir_filter_example iir_filter_example \
		   interp_example decim_example \
		   matched_filter_example firpfb_example \
		   cheby1_example

CC = gcc
CFLAGS = -Wall -O3
LDFLAGS = -lm
OBJS = filter.f.o filter.cf.o \
	   filter_common.o firdes.o cheby1.o butter.o \
	   nyquist.o rrcos.o window.o lf2.o
HEADERS = src/filter_common.h src/filter.h src/firdes.h \
		  src/iir_filter.c src/fir_filter.c src/decim.c src/interp.c \
		  src/firpfb.c

all: $(EXAMPLES)

MATH_DEPS = lmath.o
BUFFER_DEPS = fwindow.o cfwindow.o
DOTPROD_DEPS = fdotprod.o cfdotprod.o
DEPS = $(MATH_DEPS) $(BUFFER_DEPS) $(DOTPROD_DEPS)

$(MATH_DEPS) :
	cd ../math ; make $@
	cp ../math/$@ .

$(BUFFER_DEPS) :
	cd ../buffer ; make $@
	cp ../buffer/$@ .

$(DOTPROD_DEPS) :
	cd ../dotprod ; make $@
	cp ../dotprod/$@ .

$(OBJS) : %.o : src/%.c $(HEADERS)
	$(CC) $(CFLAGS) -c $< -o $@

$(EXAMPLES): % : examples/%.c $(OBJS) $(HEADERS) $(DEPS)
	$(CC) $(CFLAGS) $(OBJS) $(DEPS) $(LDFLAGS) $< -o $@

clean:
	rm -f $(OBJS) $(DEPS) $(EXAMPLES)
<commit_msg>removing butter/cheby1 filter design objects from makefile<commit_after># 
# Makefile for filter module
#

EXAMPLES = fir_filter_example iir_filter_example \
		   interp_example decim_example \
		   matched_filter_example firpfb_example

CC = gcc
CFLAGS = -Wall -O3
LDFLAGS = -lm
OBJS = filter.f.o filter.cf.o \
	   filter_common.o firdes.o \
	   nyquist.o rrcos.o window.o lf2.o
HEADERS = src/filter_common.h src/filter.h src/firdes.h \
		  src/iir_filter.c src/fir_filter.c src/decim.c src/interp.c \
		  src/firpfb.c

all: $(EXAMPLES)

MATH_DEPS = lmath.o
BUFFER_DEPS = fwindow.o cfwindow.o
DOTPROD_DEPS = fdotprod.o cfdotprod.o
DEPS = $(MATH_DEPS) $(BUFFER_DEPS) $(DOTPROD_DEPS)

$(MATH_DEPS) :
	cd ../math ; make $@
	cp ../math/$@ .

$(BUFFER_DEPS) :
	cd ../buffer ; make $@
	cp ../buffer/$@ .

$(DOTPROD_DEPS) :
	cd ../dotprod ; make $@
	cp ../dotprod/$@ .

$(OBJS) : %.o : src/%.c $(HEADERS)
	$(CC) $(CFLAGS) -c $< -o $@

$(EXAMPLES): % : examples/%.c $(OBJS) $(HEADERS) $(DEPS)
	$(CC) $(CFLAGS) $(OBJS) $(DEPS) $(LDFLAGS) $< -o $@

clean:
	rm -f $(OBJS) $(DEPS) $(EXAMPLES)

{'fraction_non_alphanumeric': 0.18156553960166744, 'fraction_numerical': 0.003242241778601204, 'mean_word_length': 3.1379310344827585, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2054702', 'n_tokens_mistral': 995, 'n_tokens_neox': 954, 'n_words': 197}