<commit_before>.PHONY: clean allcpp allc

CC := gcc
CXX := g++
SRCDIR := src
BINDIR := bin
 
CEXT := c
CPPEXT := cpp
CSOURCES := $(shell find $(SRCDIR) -type f -name *.$(CSRCEXT))
CPPSOURCES := $(shell find $(SRCDIR) -type f -name *.$(CPPSRCEXT))
COBJECTS := $(patsubst $(SRCDIR)/%,$(BINDIR)/%,$(SOURCES:.$(CEXT)=.exe))
CPPOBJECTS := $(patsubst $(SRCDIR)/%,$(BINDIR)/%,$(SOURCES:.$(CPPEXT)=.exe))
CFLAGS := -g # -Wall
CPPFLAGS := -g # -Wall

allcpp: $(CPPOBJECTS)
	@true

allc: $(COBJECTS)
	@true

# *.c
$(BINDIR)/%.exe: $(SRCDIR)/%.$(CEXT) $(SRCDIR)/common.h
	@mkdir -p $(BINDIR)
	$(CC) $(CFLAGS) -o $@ $<

# *.cpp
$(BINDIR)/%.exe: $(SRCDIR)/%.$(CPPEXT) $(SRCDIR)/common.h
	@mkdir -p $(BINDIR)
	$(CXX) $(CPPFLAGS) -o $@ $<

clean:
	echo " Cleaning..."; 
	$(RM) -r $(BINDIR)

<commit_msg>Yes i am using constant string -> char*, shatup<commit_after>.PHONY: clean allcpp allc

CC := gcc
CXX := g++
SRCDIR := src
BINDIR := bin
 
CEXT := c
CPPEXT := cpp
CSOURCES := $(shell find $(SRCDIR) -type f -name *.$(CSRCEXT))
CPPSOURCES := $(shell find $(SRCDIR) -type f -name *.$(CPPSRCEXT))
COBJECTS := $(patsubst $(SRCDIR)/%,$(BINDIR)/%,$(SOURCES:.$(CEXT)=.exe))
CPPOBJECTS := $(patsubst $(SRCDIR)/%,$(BINDIR)/%,$(SOURCES:.$(CPPEXT)=.exe))
CFLAGS := -g
CPPFLAGS := -g -Wno-write-strings

allcpp: $(CPPOBJECTS)
	@true

allc: $(COBJECTS)
	@true

# *.c
$(BINDIR)/%.exe: $(SRCDIR)/%.$(CEXT) $(SRCDIR)/common.h
	@mkdir -p $(BINDIR)
	$(CC) $(CFLAGS) -o $@ $<

# *.cpp
$(BINDIR)/%.exe: $(SRCDIR)/%.$(CPPEXT) $(SRCDIR)/common.h
	@mkdir -p $(BINDIR)
	$(CXX) $(CPPFLAGS) -o $@ $<

clean:
	echo " Cleaning..."; 
	$(RM) -r $(BINDIR)


{'fraction_non_alphanumeric': 0.2709237445753255, 'fraction_numerical': 0.0, 'mean_word_length': 4.04375, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 4, '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': '6040453', 'n_tokens_mistral': 759, 'n_tokens_neox': 719, 'n_words': 158}