<commit_before>LIBEVENT ?= /usr/local
LIBSIMPLEHTTP ?= /usr/local
LIBZMQ ?= /usr/local

CFLAGS = -I. -I$(LIBZMQ)/include -Wall -O2
LIBS = -L. -L$(LIBZMQ)/lib -lzmq
SRC = src

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

all: zlog-http zlog-hub zlog-recv zlog-send

zlog-http: $(SRC)/http.o
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) -I$(LIBEVENT)/include \
		-I$(LIBSIMPLEHTTP)/include -L$(LIBEVENT)/lib -L$(LIBSIMPLEHTTP)/lib -levent \
		-lsimplehttp -lm

zlog-hub: $(SRC)/hub.o
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)

zlog-recv: $(SRC)/recv.o
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)

zlog-send: $(SRC)/send.o
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)

.PHONY: clean

clean:<commit_msg>Remove zlog-http from default build<commit_after>LIBEVENT ?= /usr/local
LIBSIMPLEHTTP ?= /usr/local
LIBZMQ ?= /usr/local

CFLAGS = -I. -I$(LIBZMQ)/include -Wall -O2
LIBS = -L. -L$(LIBZMQ)/lib -lzmq
SRC = src

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

all: zlog-hub zlog-recv zlog-send

zlog-http: $(SRC)/http.o
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) -I$(LIBEVENT)/include \
		-I$(LIBSIMPLEHTTP)/include -L$(LIBEVENT)/lib -L$(LIBSIMPLEHTTP)/lib -levent \
		-lsimplehttp -lm

zlog-hub: $(SRC)/hub.o
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)

zlog-recv: $(SRC)/recv.o
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)

zlog-send: $(SRC)/send.o
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)

.PHONY: clean

clean:
{'fraction_non_alphanumeric': 0.2564491654021244, 'fraction_numerical': 0.0015174506828528073, 'mean_word_length': 3.2824675324675323, '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': '6210230', 'n_tokens_mistral': 644, 'n_tokens_neox': 613, 'n_words': 126}