<commit_before>PROGRAMS := bootimg-extract bootimg-create
BOOTIMG_EXTRACT_SRCS := bootimg-extract.c cJSON.c
BOOTIMG_EXTRACT_OBJS := $(BOOTIMG_EXTRACT_SRCS:%.c=%.o)
BOOTIMG_CREATE_SRCS := bootimg-create.c cJSON.c
BOOTIMG_CREATE_OBJS := $(BOOTIMG_CREATE_SRCS:%.c=%.o)
BOOTIMG_LDLIBS := xml2
BOOTIMG_LDFLAGS := 

DEFINES := -D_GNU_SOURCE
INCLUDES := -I/usr/include/libxml2

CC := gcc
ifneq ($(DEBUG),)
CFLAGS := -g -O0 
else
CFLAGS := -O2
endif

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

.PHONY: all clean

all: $(PROGRAMS)

clean:
	$(RM) *.o $(PROGRAMS) *~

bootimg-extract: $(BOOTIMG_EXTRACT_OBJS)
	$(CC) $(CFLAGS) $(BOOTIMG_EXTRACT_OBJS) -o $@ $(BOOTIMG_LDFLAGS) $(foreach lib,$(BOOTIMG_LDLIBS),-l$(lib)) -lm

bootimg-create: $(BOOTIMG_CREATE_OBJS)
	$(CC) $(CFLAGS) $(BOOTIMG_CREATE_OBJS) -o $@ $(BOOTIMG_LDFLAGS) $(foreach lib,$(BOOTIMG_LDLIBS),-l$(lib)) -lm
<commit_msg>Removed echo for the bootimg-create build command in makefile<commit_after>PROGRAMS := bootimg-extract bootimg-create
BOOTIMG_EXTRACT_SRCS := bootimg-extract.c cJSON.c
BOOTIMG_EXTRACT_OBJS := $(BOOTIMG_EXTRACT_SRCS:%.c=%.o)
BOOTIMG_CREATE_SRCS := bootimg-create.c cJSON.c
BOOTIMG_CREATE_OBJS := $(BOOTIMG_CREATE_SRCS:%.c=%.o)
BOOTIMG_LDLIBS := xml2
BOOTIMG_LDFLAGS := 

DEFINES := -D_GNU_SOURCE
INCLUDES := -I/usr/include/libxml2

CC := gcc
ifneq ($(DEBUG),)
CFLAGS := -g -O0 
else
CFLAGS := -O2
endif

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

.PHONY: all clean


all: $(PROGRAMS)


clean:
	$(RM) *.o $(PROGRAMS) *~


bootimg-extract: $(BOOTIMG_EXTRACT_OBJS)
	$(CC) $(CFLAGS) $(BOOTIMG_EXTRACT_OBJS) -o $@ $(BOOTIMG_LDFLAGS) $(foreach lib,$(BOOTIMG_LDLIBS),-l$(lib)) -lm


bootimg-create: $(BOOTIMG_CREATE_OBJS)
	$(CC) $(CFLAGS) $(BOOTIMG_CREATE_OBJS) -o $@ $(BOOTIMG_LDFLAGS) $(foreach lib,$(BOOTIMG_LDLIBS),-l$(lib)) -lm


{'fraction_non_alphanumeric': 0.18889493739793142, 'fraction_numerical': 0.004354926510615134, 'mean_word_length': 5.540925266903915, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '4947908', 'n_tokens_mistral': 887, 'n_tokens_neox': 849, 'n_words': 144}