<commit_before>ifndef platform
	ifeq ($(OS),Windows_NT)
		platform=windows
	else
		UNAME := $(shell uname -s)
		ifeq ($(UNAME),Linux)
			platform=linux
		endif
		ifeq ($(UNAME),Darwin)
			platform=macos
		endif
	endif
endif
CFLAGS=-c -std=c++11 -Wall -I../ouzel -Winvalid-pch -include linux/Prefix.h
LDFLAGS=-L. -louzel
ifeq ($(platform),raspbian)
LDFLAGS+=-L/opt/vc/lib -lGLESv2 -lEGL -lbcm_host -lopenal
else ifeq ($(platform),linux)
LDFLAGS+=-lX11 -lGL -lopenal
else ifeq ($(platform),macos)
LDFLAGS+=-framework AudioToolbox \
	-framework AudioToolbox \
	-framework CoreVideo \
	-framework Cocoa \
	-framework GameController \
	-framework Metal \
	-framework MetalKit \
	-framework OpenAL \
	-framework OpenGL
endif
SOURCES=AnimationsSample.cpp \
	main.cpp \
	Samples.cpp \
	GUISample.cpp \
	InputSample.cpp \
	MainMenu.cpp \
	SoundSample.cpp \
	SpritesSample.cpp \
	RTSample.cpp
OBJECTS=$(SOURCES:.cpp=.o)
EXECUTABLE=samples

all: $(SOURCES) $(EXECUTABLE)

$(EXECUTABLE): $(OBJECTS)
	$(MAKE) -f ../build/Makefile platform=$(platform)
	$(CXX) $(OBJECTS) $(LDFLAGS) -o $@

.cpp.o:
	$(CXX) $(CFLAGS) $< -o $@

.PHONY: clean
clean:
	$(MAKE) -f ../build/Makefile clean
	rm -f $(EXECUTABLE) *.o
<commit_msg>Add pthread to Makefile<commit_after>ifndef platform
	ifeq ($(OS),Windows_NT)
		platform=windows
	else
		UNAME := $(shell uname -s)
		ifeq ($(UNAME),Linux)
			platform=linux
		endif
		ifeq ($(UNAME),Darwin)
			platform=macos
		endif
	endif
endif
CFLAGS=-c -std=c++11 -Wall -I../ouzel -Winvalid-pch -include linux/Prefix.h
LDFLAGS=-L. -louzel
ifeq ($(platform),raspbian)
LDFLAGS+=-L/opt/vc/lib -lGLESv2 -lEGL -lbcm_host -lopenal
else ifeq ($(platform),linux)
LDFLAGS+=-lX11 -lGL -lopenal -lpthread
else ifeq ($(platform),macos)
LDFLAGS+=-framework AudioToolbox \
	-framework AudioToolbox \
	-framework CoreVideo \
	-framework Cocoa \
	-framework GameController \
	-framework Metal \
	-framework MetalKit \
	-framework OpenAL \
	-framework OpenGL
endif
SOURCES=AnimationsSample.cpp \
	main.cpp \
	Samples.cpp \
	GUISample.cpp \
	InputSample.cpp \
	MainMenu.cpp \
	SoundSample.cpp \
	SpritesSample.cpp \
	RTSample.cpp
OBJECTS=$(SOURCES:.cpp=.o)
EXECUTABLE=samples

all: $(SOURCES) $(EXECUTABLE)

$(EXECUTABLE): $(OBJECTS)
	$(MAKE) -f ../build/Makefile platform=$(platform)
	$(CXX) $(OBJECTS) $(LDFLAGS) -o $@

.cpp.o:
	$(CXX) $(CFLAGS) $< -o $@

.PHONY: clean
clean:
	$(MAKE) -f ../build/Makefile clean
	rm -f $(EXECUTABLE) *.o

{'fraction_non_alphanumeric': 0.1633744855967078, 'fraction_numerical': 0.00411522633744856, 'mean_word_length': 3.8234126984126986, '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': '3778391', 'n_tokens_mistral': 1017, 'n_tokens_neox': 932, 'n_words': 210}