<commit_before>CFLAGS=-Wall -Wextra -Wpedantic -ggdb -std=c99
LDFLAGS=-lpthread
MONGOOSE_LIB=../../lib/mongoose/

.PHONY = all clean

all: Server

Server: server.o mongoose.o
	${CC} ${LDFLAGS} $^ -o $@

mongoose.o: mongoose.c mongoose.h

server.o: server.c mongoose.h

mongoose.c:
	cp ${MONGOOSE_LIB}/$@ ./

mongoose.h:
	cp ${MONGOOSE_LIB}/$@ ./

clean:
	rm -rf server.o Server mongoose.o<commit_msg>Improved Makefile.<commit_after>CFLAGS=-Wall -Wextra -Wpedantic -ggdb -std=c99
LDFLAGS=-lpthread
LIB_FOLDER=../../lib
MONGOOSE_LIB=${LIB_FOLDER}/mongoose/
FROZEN_LIB=${LIB_FOLDER}/frozen/
LUASP_LIB=${LIB_FOLDER}/luasp/

.PHONY = all clean

all: Server

Server: server.o mongoose.o
	${CC} ${LDFLAGS} $^ -o $@

mongoose.o: mongoose.c mongoose.h

server.o: server.c mongoose.h

frozen.o: frozen.c frozen.h

lualsp.so:
	make -C ${LUASP_LIB}
	cp ${LUASP_LIB}/lualsp.so ./

frozen.c:
	cp ${FROZEN_LIB}/$@ ./

frozen.h:
	cp ${FROZEN_LIB}/$@ ./

mongoose.c:
	cp ${MONGOOSE_LIB}/$@ ./

mongoose.h:
	cp ${MONGOOSE_LIB}/$@ ./

clean:
	rm -rf server.o Server mongoose.o frozen.c frozen.h mongoose.h mongoose.c lualsp.so
{'fraction_non_alphanumeric': 0.17976513098464317, 'fraction_numerical': 0.0036133694670280035, 'mean_word_length': 3.6751054852320677, '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': '393408', 'n_tokens_mistral': 517, 'n_tokens_neox': 521, 'n_words': 95}