<commit_before>OUTPUT           = Project
BINDIR           = bin
LIBDIR           = lib
SRCDIR           = src
RESDIR           = res
OBJDIR           = .build/obj
TARGET           = $(BINDIR)/$(OUTPUT)

HEADERS          = $(shell find $(SRCDIR) -name '*.h' -or -name '*.hpp')
SRCDIRS          = $(shell find $(SRCDIR) -mindepth 1 -type d)
CXX_SRC          = $(shell find $(SRCDIR) -name '*.cpp')
C_SRC            = $(shell find $(SRCDIR) -name '*.c')
RESOURCES        = $(shell find $(RESDIR) -type f)

OBJDIRS          = $(patsubst $(SRCDIR)/%,$(OBJDIR)/%,$(SRCDIRS)) $(OBJDIR)
CXX_OBJ          = $(patsubst $(SRCDIR)/%.cpp,$(OBJDIR)/%.o,$(CXX_SRC))
C_OBJ            = $(patsubst $(SRCDIR)/%.c,$(OBJDIR)/%.o,$(C_SRC))
RES              = $(patsubst $(RESDIR)/%,$(BINDIR)/%,$(RESOURCES))

LDPATH           = -L$(LIBDIR)/bin/linux
INCLUDE          = -I$(LIBDIR)/include -I$(SRCDIR)
CFLAGS           = -O2 -Wall -Wextra -pedantic -std=c99
CXXFLAGS         = -O2 -Wall -Wextra -pedantic -std=c++11
LDFLAGS          = -lm -lGLEW -lGLU -lGL -lglut -lstdc++
LDFLAGS         += -lfreeimage -lAntTweakBar -lX11
LDFLAGS         += -lfftw3f -lfftw3f_omp -fopenmp

all: $(TARGET)

$(OBJDIRS):
	mkdir -p $@

$(BINDIR)/%: $(RESDIR)/%
	cp $< $@

$(TARGET): $(CXX_OBJ) $(C_OBJ) | $(RES)<commit_msg>Fixed makefile resource copy<commit_after>OUTPUT           = Project
BINDIR           = bin
LIBDIR           = lib
SRCDIR           = src
RESDIR           = res
OBJDIR           = .build/obj
TARGET           = $(BINDIR)/$(OUTPUT)

HEADERS          = $(shell find $(SRCDIR) -name '*.h' -or -name '*.hpp')
SRCDIRS          = $(shell find $(SRCDIR) -mindepth 1 -type d)
CXX_SRC          = $(shell find $(SRCDIR) -name '*.cpp')
C_SRC            = $(shell find $(SRCDIR) -name '*.c')
RESOURCES        = $(shell find $(RESDIR) -type f)

OBJDIRS          = $(patsubst $(SRCDIR)/%,$(OBJDIR)/%,$(SRCDIRS)) $(OBJDIR)
CXX_OBJ          = $(patsubst $(SRCDIR)/%.cpp,$(OBJDIR)/%.o,$(CXX_SRC))
C_OBJ            = $(patsubst $(SRCDIR)/%.c,$(OBJDIR)/%.o,$(C_SRC))
RES              = $(patsubst $(RESDIR)/%,$(BINDIR)/%,$(RESOURCES))

LDPATH           = -L$(LIBDIR)/bin/linux
INCLUDE          = -I$(LIBDIR)/include -I$(SRCDIR)
CFLAGS           = -O2 -Wall -Wextra -pedantic -std=c99
CXXFLAGS         = -O2 -Wall -Wextra -pedantic -std=c++11
LDFLAGS          = -lm -lGLEW -lGLU -lGL -lglut -lstdc++
LDFLAGS         += -lfreeimage -lAntTweakBar -lX11
LDFLAGS         += -lfftw3f -lfftw3f_omp -fopenmp

all: $(TARGET)

$(OBJDIRS):
	mkdir -p $@

$(BINDIR)/%: $(RESDIR)/%
	mkdir -p $(dir $@) && cp $< $@

$(TARGET): $(CXX_OBJ) $(C_OBJ) | $(RES)
{'fraction_non_alphanumeric': 0.1974644640799078, 'fraction_numerical': 0.008451786400307337, 'mean_word_length': 2.078014184397163, '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': '542975', 'n_tokens_mistral': 1027, 'n_tokens_neox': 989, 'n_words': 217}