<commit_before>#
# Makefile for Serwer
#
# Author: overflowerror
#
#

CC = gcc
DEFS = -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
CFLAGS = -Wall -g -std=c99 -pedantic -DENDEBUG $(DEFS)
LDFLAGS = $(DEFS)

.PHONY: all clean

all: test

%.o: %.c
	$(CC) $(CFLAGS) -c -o $@ $<

exmaple: exmaple.o webserver.o help.o
	$(CC) $(LDFLAGS) -o $@ $^

exmaple.o: exmaple.c webserver.h

help.o: help.c help.h

webserver.o: webserver.c webserver.h help.h

clean: 
	rm -f *.o example<commit_msg>using -Wextra and fixing typo<commit_after>#
# Makefile for Serwer
#
# Author: overflowerror
#
#

CC = gcc
DEFS = -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
CFLAGS = -Wall -Wextra -g -std=c99 -pedantic -DENDEBUG $(DEFS)
LDFLAGS = $(DEFS)

.PHONY: all clean

all: example

%.o: %.c
	$(CC) $(CFLAGS) -c -o $@ $<

example: example.o webserver.o help.o
	$(CC) $(LDFLAGS) -o $@ $^

example.o: example.c webserver.h

help.o: help.c help.h

webserver.o: webserver.c webserver.h help.h

clean: 
	rm -f *.o example
{'fraction_non_alphanumeric': 0.1699481865284974, 'fraction_numerical': 0.010362694300518135, 'mean_word_length': 3.390909090909091, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1801934', 'n_tokens_mistral': 445, 'n_tokens_neox': 422, 'n_words': 110}