<commit_before>NAME = foo

CC = gcc
LD = gcc

SDIR = src
ODIR = obj
IDIR = include
LDIR = lib
BDIR = bin

CFLAGS = -Wall -I$(IDIR) $(shell pkg-config --cflags glfw3 glm)
LDFLAGS = -L$(LDIR) $(shell pkg-config --libs glfw3 glm) -lopengl32 -lgdi32

MKDIR_P = mkdir -p
RM = rm -f

SOURCES  := $(wildcard $(SDIR)/*.c)
INCLUDES := $(wildcard $(IDIR)/*.h)
OBJECTS  := $(SOURCES:$(SDIR)/%.c=$(ODIR)/%.o)
OUTFILE   = $(BDIR)/$(NAME)

$(OUTFILE): $(BDIR) objects
	@$(LD) $(OBJECTS) $(LDFLAGS) -o $@
	@echo " *** Linked "$@" successfully!"

objects: $(ODIR) $(OBJECTS)
	@echo " *** Compilation complete!"

$(OBJECTS): $(ODIR)/%.o : $(SDIR)/%.c
	@$(CC) $(CFLAGS) -c $< -o $@
	@echo " *** Compiled "$<" successfully!"

$(ODIR):
	@$(MKDIR_P) $(ODIR)

$(BDIR):
	@$(MKDIR_P) $(BDIR)

.PHONY: clean
clean:
	@$(RM) $(OBJECTS)
	@echo " *** Cleanup complete!"

.PHONY: remove
remove: clean
	@$(RM) $(OUTFILE)<commit_msg>Removes the unused directories upon 'make remove' as well<commit_after>NAME = foo

CC = gcc
LD = gcc

SDIR = src
ODIR = obj
IDIR = include
LDIR = lib
BDIR = bin

CFLAGS = -Wall -I$(IDIR) $(shell pkg-config --cflags glfw3 glm)
LDFLAGS = -L$(LDIR) $(shell pkg-config --libs glfw3 glm) -lopengl32 -lgdi32

MKDIR_P = mkdir -p
RM = rm -f
RMDIR = rmdir

SOURCES  := $(wildcard $(SDIR)/*.c)
INCLUDES := $(wildcard $(IDIR)/*.h)
OBJECTS  := $(SOURCES:$(SDIR)/%.c=$(ODIR)/%.o)
OUTFILE   = $(BDIR)/$(NAME)

$(OUTFILE): $(BDIR) objects
	@$(LD) $(OBJECTS) $(LDFLAGS) -o $@
	@echo " *** Linked "$@" successfully!"

objects: $(ODIR) $(OBJECTS)
	@echo " *** Compilation complete!"

$(OBJECTS): $(ODIR)/%.o : $(SDIR)/%.c
	@$(CC) $(CFLAGS) -c $< -o $@
	@echo " *** Compiled "$<" successfully!"

$(ODIR):
	@$(MKDIR_P) $(ODIR)

$(BDIR):
	@$(MKDIR_P) $(BDIR)

.PHONY: clean
clean:
	@$(RM) $(OBJECTS)
	@echo " *** Cleanup complete!"

.PHONY: remove
remove: clean
	@$(RM) $(OUTFILE)
	@$(RMDIR) $(ODIR)
	@$(RMDIR) $(BDIR)
{'fraction_non_alphanumeric': 0.24499473129610116, 'fraction_numerical': 0.006322444678609062, 'mean_word_length': 3.9973684210526317, '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': '1280464', 'n_tokens_mistral': 864, 'n_tokens_neox': 816, 'n_words': 203}